Raghavendra
Raghavendra

Reputation: 3998

Maven Error While updating Dependencies

I have a maven project in which i am getting the following error. I am using eclipse IDE

     An internal error occurred during: "Importing Maven projects".
     Unsupported IClasspathEntry kind=4

Upvotes: 0

Views: 208

Answers (2)

hansSolo
hansSolo

Reputation: 61

Here's a better answer: stop using eclipse.

Here's the eclipse bug page: https://bugs.eclipse.org/bugs/show_bug.cgi?id=394042

They seem to have no interest in fixing this issue, so if you require|prefer to use the command line for projects, then really there is no fix but to quit eclipse.

Upvotes: 0

Raghavendra
Raghavendra

Reputation: 3998

I have followed below steps for resolving this error. The reason for this error is class path file located in your project folder.

  1. Disable Maven Nature for your project ( If in eclipse, right click on the project --> Maven --> Disable Maven Nature).
  2. Delete the class path file in your project folder.
  3. Re- enable the Maven Nature Again (right click on project --> configure --> Convert to Maven Project).
  4. Try to Maven clean, install and Run the project.

Upvotes: 1

Related Questions