Hi,

I have a simple test JAX-RS application which creates an application and a
service with one endpoint. My javax.ws.rs.core.Application derived class is
empty and has an @ApplicationPath("api") annotation defined, and my service
class has a public method with the @GET and @Path annotations.

I am using the tomee maven plugin, and when specifying the version as 1.7.1,
the application and service deploy and the endpoint gets mapped. When I try
and use the new 1.7.2 version, I get no errors and the usual tomee startup
messages are there, but not the CXF ones registering the application and
endpoint, and the server returns 404.

Did something change in the requirements for "auto-magical" deployment of
JAX-RS? My web.xml is empty except for a data-source element. I remember a
long time ago I used to explicitly register the app and service class(es)
with the non-spring CXF servlet, but stopped when I discovered the
simplicity of just using annotations.

To re-iterate, the exact same war deploys as expected on 1.7.1, but not
1.7.2.

Dave





--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/CXF-endpoints-mapped-on-1-7-1-not-on-1-7-2-tp4675020.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to