Caused by: javax.ws.rs.NotFoundException

1.3k views Asked by At

I am new to writing webservices using Jax-RS. I took the spring-cxf-rest-example that is using CXF 3.0.0 and JAX-RS 2.0 to try a simple rest service. This war runs fine in May Beta version of Websphere Liberty profile as it supports JAX-RS 2.0. But I would like to run it is Websphere 8.5.5.1 that supports JAX-RS 1.1. So I have disabled the JaxRS engine in the server. I am now getting the following Exception. So What Jars am I missing.

Caused by: javax.ws.rs.NotFoundException

the jars in my war are

aopalliance-1.0.jar
commons-logging-1.1.1.jar
cxf-core-3.0.0.jar
cxf-rt-frontend-jaxrs-3.0.0.jar
cxf-rt-transports-http-3.0.0.jar
jackson-annotations-2.0.1.jar
jackson-core-2.0.1.jar
jackson-databind-2.0.1.jar
jackson-jaxrs-json-provider-2.0.1.jar
jackson-module-jaxb-annotations-2.0.1.jar
javax.annotation-api-1.2.jar
javax.ws.rs-api-2.0.jar
serializer-2.7.1.jar
spring-aop-4.0.0.RELEASE.jar    
spring-beans-4.0.0.RELEASE.jar
spring-context-4.0.0.RELEASE.jar
spring-core-4.0.0.RELEASE.jar
spring-expression-4.0.0.RELEASE.jar
spring-web-4.0.0.RELEASE.jar
stax2-api-3.1.4.jar
woodstox-core-asl-4.3.0.jar
xalan-2.7.1.jar
xmlschema-core-2.1.0.jar
0

There are 0 answers