Change "javax.ws.rs.core.Application" to "javax.ws.rs.Application".
That is the correct way to do it. (Still might not work).
On 9/4/2012 12:22 PM, Duncan Bloem wrote:
> No, I have:
>
> http://java.sun.com/xml/ns/javaee";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocat
No, I have:
http://java.sun.com/xml/ns/javaee"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";>
jaxrs
javax.ws.rs.core.Application
/*
SO, you have:
Resteasy
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
javax.ws.rs.Application
com.restfully.shop.services.ShoppingApplication
Resteasy
/*
And
I want to have web.xml decide which Application class should be registered.
(GF and JBoss profiles have different web.xml)
I would have expected that the Application sub-class is disregarded,
because there is no annotation and no servlet mapping. JBoss should just
register javax.ws.rs.core.Applica
I don't understand, you have an Application class not annotated? *AND*
you have a different application class declared in web.xml?
What do you expect to happen? What does GF 3.1 do? The spec is kinda
vague here.
Originally if you had an Application class without @ApplicationPath,
resteasy w
Hello,
When there is a Sub-class of Application on the classpath without
@ApplicationPath annotation nor a for the Application
sub-class in web.xml, deployment fails under JBoss AS7 with the following
error:
DeploymentUnitProcessingException: JBAS011233: Please use either
@ApplicationPath or serv