eclipse using maven error

Open the project pom file null pointer error:

java.lang.NullPointerException 

at org.eclipse.wst.sse.ui.internal.contentou

Read a lot of solutions, he said that the project space problems, the easiest way is to delete the folder .metadata restart.

maven compiler error:

Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (execution: default-compile, phase: compile)
CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: 。。。

solve:

View maven eclipse configuration there is no problem:

MAVEN_HOME configuration environment variable, cmd-> mvn -v to check whether success

eclipse-> maven-> installations set maven-> User Settings Set settings if there are problems

I was not configured environment variables maven

Guess you like

Origin www.cnblogs.com/agnesFlower/p/12182488.html