[ https://issues.apache.org/jira/browse/TOMEE-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Gumbrecht updated TOMEE-1262: ---------------------------------- Fix Version/s: 1.7.0 > JAX RS Autoscanning from Web XML > -------------------------------- > > Key: TOMEE-1262 > URL: https://issues.apache.org/jira/browse/TOMEE-1262 > Project: TomEE > Issue Type: Bug > Components: Compliance Checks > Affects Versions: 1.6.0.2 > Reporter: Amol Khanolkar > Fix For: 1.7.0 > > > As per java specs when If i dont have subclass of Application class I can > place the below snippet in web.xml and it should scan all the classes for > @Path and rest services should be deployed > <servlet> > <servlet-name>javax.ws.rs.core.Application</servlet-name> > </servlet> > <servlet-mapping> > <servlet-name>javax.ws.rs.core.Application</servlet-name> > <url-pattern>/myresources/*</url-pattern> > </servlet-mapping> > But same things works if I make empty class subclassing Application class and > annotate it with @ApplicationPath or Dont annotate the class but add it in > web.xml -- This message was sent by Atlassian JIRA (v6.2#6252)