Eclipse throws NullPointerException during Maven update

前端 未结 6 1063
难免孤独
难免孤独 2020-12-18 21:24

I\'ve been fighting an internal Eclipse error for two days. I\'m running the latest Spring Tool Suite edition of Eclipse, and I\'ve attempting to import a collection of exis

6条回答
  •  旧时难觅i
    2020-12-18 22:11

    I'm strongly sure that the problem is not related to the maven plugin; but if it is, i was wandering if you run a mvn eclipse:eclipse before importing the project into eclipse, if you do that and you are using maven 3, I had checked that maven plugin does not support maven 3 properly yet; so I encourage you to make a mvn eclipse:clean, then import the project as an existing project, and after that activate the maven plugin nature from eclipse. I hope it helps,

    PS. it seems to be a know eclipse bug (https://www.google.com.uy/search?q=j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java&oq=j2ee.componentcore.J2EEModuleVirtualComponent.getReferences(J2EEModuleVirtualComponent.java&aqs=chrome..69i57.128j0j7&sourceid=chrome&espv=210&es_sm=91&ie=UTF-8); try downloading the last eclipse version; I'm using kepler at work, and I'm working in maven/spring projects and it works fine.

    Good luck!

提交回复
热议问题