When I import a maven project, I get a window titled "Multiple problems have occured".
Two problems:
Errors occurred during the build. Errors running builder 'Maven Project Builder' on project '(project name)'.
An internal error occurred during: "Importing Maven projects". java.lang.NullPointerException java.lang.NullPointerException
I've searched a bit for these errors and some people are saying it goes away by deleting ".settings" and ".project" files but this is not working for me.
What could cause these errors and is there a fix?
Solution depends on the ide you are using. If you are using IntelliJ Idea to import the maven project just delete the existing idea related file and import the project from the beginning. If you are using Eclipse ide, this error may cause due to missing of settings.xml
file in .m2 (local maven repo) folder.
settings.xml
and click apply.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.