ClassNotFound exception while deploying Eclipse (Luna) and tomcat jersey

I have an error while deploying Jersey webservices in Tomcat. I created a dynamic 3.0 project and after I converted it to a Maven project.

I installed this:

Maven Integration (Java EE) for Eclipse WTP (Luna) 1.1.0

and

Maven Integration for Eclipse (Luna) 1.5.0

But if I try to right click on the project and execute Maven> Update project, it doesn't allow me to change the project configuration internally, so Maven dependencies are not copied to the / WEB-INF / lib folder.

So when I try to start the server I have this error:

java.lang.ClassNotFoundException: org.glassfish.jersey.servlet.ServletContainer

      

If I go to the deployment node, I have:

Source: Maven Dependencies | Expanding the path: WEB-INF / lib ... I think this is wrong, right?

+3


source to share





All Articles