I'm developing a Java EE web project. When I try to add a dependency, this error message appears. I use Eclipse Kepler.
An internal error occurred during: "Updating Maven Project". java.lang.NullPointerException
Could you help me? Thank you.
Update Maven settings in Eclipse. Right-click your project and select Maven Update Project and update your project.
To enable Maven nature, right click on the project and in the context menu, select Configure → Convert To Maven Project. M2E Plugin enables the Maven nature and adds pom. xml to the project. Likewise, we can use Maven → Disable Maven Nature from the project context menu to convert a Maven project to a regular project.
I solved mine by deleting the .settings
folder and .project
file in the project and then reimporting the project.
For me worked the answer I found on CodeRanch, by user Maneesh Godbole:
- Close eclipse.
- Navigate to your "workspace" folder
- Ensure the setting on your OS to view hidden files is turned on
- Identify and delete the .metadata directory
- Restart eclipse
- Import project
I've had the same problem in one of my modules.
Running "mvn eclipse:eclipse" in the console/cmd solved the problem for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With