Maven: Unsupported IClasspathEntry kind=4

Maven: Unsupported IClasspathEntry kind=4, generated by Eclipse or JBoss: Disable the maven nature for the project: Right-click -> Maven -> Disable Maven Nature run mvn eclipse:clean (while your project is open in STS/eclipse) Re-enable the maven nature: Right-click -> Configure -> Convert to Maven Project