Maven in Eclipse complains that “Unable to locate the Javac Compiler” whenever POM changed

后端 未结 12 776
后悔当初
后悔当初 2020-12-05 07:25

I got error message every time I changed my pom.xml in eclipse.

Build errors for myapp; org.apache.maven.lifecycle.LifecycleExecutionException: Failed to ex         


        
12条回答
  •  攒了一身酷
    2020-12-05 08:00

    I had a similar issue; what you should try is performing a mvn install from the POM directory itself, any Maven install you do next in Eclipse itself will work as well afterwards.

提交回复
热议问题