Cannot create Maven Embedder

Under the latest EAP build I can't seem to build anything with the maven
integration..

Do I need to set any properties anywhere?

Cannot create Maven Embedder:
org.jetbrains.idea.maven.core.util.MavenEnv.createEmbedder(MavenEnv.java:164)
org.jetbrains.idea.maven.builder.executor.MavenEmbeddedExecutor.run(MavenEmbeddedExecutor.java:78)
org.jetbrains.idea.maven.builder.MavenBuilderImpl$2.run(MavenBuilderImpl.java:128)
com.intellij.openapi.progress.impl.ProgressManagerImpl$5.run(ProgressManagerImpl.java:2)
com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:5)
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:25)
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:28)
com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:8)
com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:6)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
java.util.concurrent.FutureTask.run(FutureTask.java:123)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
java.lang.Thread.run(Thread.java:613)
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:1)

2 comments

Hello Mark,

This is most likely caused by missing configuration files. Please check the
General tab in Maven Integration settings. If you have "Maven home directory"
or "Maven user settings file" pointing to some non-existing paths, you should
get that message.

If this does not help, you can switch to using external Maven ("Build" tab
in the Maven Integration settings) while I am investigating the reason.

Best regards,

Vladislav Kaznacheev
Project Manager, IntelliJ IDEA
http://www.jetbrains.com
"Develop with Pleasure!"

Under the latest EAP build I can't seem to build anything with the
maven integration..

Do I need to set any properties anywhere?

Cannot create Maven Embedder:

org.jetbrains.idea.maven.core.util.MavenEnv.createEmbedder(MavenEnv.ja
va:164)

org.jetbrains.idea.maven.builder.executor.MavenEmbeddedExecutor.run(Ma
venEmbeddedExecutor.java:78)

org.jetbrains.idea.maven.builder.MavenBuilderImpl$2.run(MavenBuilderIm
pl.java:128)

com.intellij.openapi.progress.impl.ProgressManagerImpl$5.run(ProgressM
anagerImpl.java:2)

com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressM
anagerImpl.java:5)

com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessU
nderProgress(ProgressManagerImpl.java:25)

com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(Prog
ressManagerImpl.java:28)

com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressM
anagerImpl.java:8)

com.intellij.openapi.application.impl.ApplicationImpl$4.run(Applicatio
nImpl.java:6)

java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417
)

java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)

java.util.concurrent.FutureTask.run(FutureTask.java:123)

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
tor.java:650)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.
java:675)

java.lang.Thread.run(Thread.java:613)

com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(Applicat
ionImpl.java:1)



0

Both "Maven home directory" and "Maven user settings file" were blank. Setting the home dir failed, but enabling the external maven build worked fine.

0

Please sign in to leave a comment.