{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft/raml-for-jax-rs/issues/95","labels_url":"https://api.github.com/repos/mulesoft/raml-for-jax-rs/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/raml-for-jax-rs/issues/95/comments","events_url":"https://api.github.com/repos/mulesoft/raml-for-jax-rs/issues/95/events","html_url":"https://github.com/mulesoft/raml-for-jax-rs/issues/95","id":83656068,"number":95,"title":"resources not being found by JAX-RS 2 servlet when deployed","user":{"login":"justjacksonn","id":10764578,"avatar_url":"https://avatars.githubusercontent.com/u/10764578?v=3","gravatar_id":"","url":"https://api.github.com/users/justjacksonn","html_url":"https://github.com/justjacksonn","followers_url":"https://api.github.com/users/justjacksonn/followers","following_url":"https://api.github.com/users/justjacksonn/following{/other_user}","gists_url":"https://api.github.com/users/justjacksonn/gists{/gist_id}","starred_url":"https://api.github.com/users/justjacksonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justjacksonn/subscriptions","organizations_url":"https://api.github.com/users/justjacksonn/orgs","repos_url":"https://api.github.com/users/justjacksonn/repos","events_url":"https://api.github.com/users/justjacksonn/events{/privacy}","received_events_url":"https://api.github.com/users/justjacksonn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-01T19:30:06Z","updated_at":"2015-06-01T23:02:03Z","closed_at":null,"body":"The generated resource interfaces that contain the @Path and methods with @POST, etc.. I then implement those classes with my resource implementations. However, when I deploy the app, the annotations seemed to be ignored. I am specifically using an @ApplicationPath() configuration java class file, which I then include the packages of my implementation resource that implements the generated interface.  When I include the package of the generated interface resource class, it DOES find the annotations and registers.. but when the request is made to the service it looks to try to create the interface class, not the implementation class... obviously not going to work.\r\n\r\nHow do we get implementation classes without the annotations in them like @Path, etc to register with the JAX-RS servlet? I am using Jersey 2.x presently in a Jetty 9.x container. "},"comment":{"url":"https://api.github.com/repos/mulesoft/raml-for-jax-rs/issues/comments/107741974","html_url":"https://github.com/mulesoft/raml-for-jax-rs/issues/95#issuecomment-107741974","issue_url":"https://api.github.com/repos/mulesoft/raml-for-jax-rs/issues/95","id":107741974,"user":{"login":"justjacksonn","id":10764578,"avatar_url":"https://avatars.githubusercontent.com/u/10764578?v=3","gravatar_id":"","url":"https://api.github.com/users/justjacksonn","html_url":"https://github.com/justjacksonn","followers_url":"https://api.github.com/users/justjacksonn/followers","following_url":"https://api.github.com/users/justjacksonn/following{/other_user}","gists_url":"https://api.github.com/users/justjacksonn/gists{/gist_id}","starred_url":"https://api.github.com/users/justjacksonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justjacksonn/subscriptions","organizations_url":"https://api.github.com/users/justjacksonn/orgs","repos_url":"https://api.github.com/users/justjacksonn/repos","events_url":"https://api.github.com/users/justjacksonn/events{/privacy}","received_events_url":"https://api.github.com/users/justjacksonn/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T23:02:03Z","updated_at":"2015-06-01T23:02:03Z","body":"Ok.. so something to figure out then. I am building the .war file and deploying in a running container with hot-swap. Doubt that would be the reason though. It's probably a configuration issue.. like I said I am not using web.xml or anything so must need to add/modify something within the class configuration for it to use/see the interface annotation. "}}