Skip to content
Advertisement

Servlet mapping not found error while deploying JAX RS application to web sphere 8.5

I am new to web services. have developed a simple rest web svc in java using Eclipse, Tomcat following this link. Application successfully runs on Tomcat but when i deploy it to IBM WebSphere 8.5.5. It deploys successfully but fails to start. I know its something with my Web.xml so i am adding it for rectification. Tried this but to no avail.

JavaScript

Web Sphere log generated when i try to start application is:-

JavaScript

I have tried both Class loading options Parent First and Parent Last but to no avail.

Advertisement

Answer

It’s giving the error that “org.glassfish.jersey.servlet.ServletContainer” is missing in the Class path. Because of which the application is not starting.

See the version of Jersey that is compatible with WAS 8.5.5? (I think it’s Jersey 1.x). The corresponding library needs to be used.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement