Frank Langelage created WFLY-8586:
-------------------------------------
Summary: Warning "WFLYRS0015: No Servlet declaration found for JAX-RS
application." raised for non-JAX-RS submodules
Key: WFLY-8586
URL:
https://issues.jboss.org/browse/WFLY-8586
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 11.0.0.Beta1
Reporter: Frank Langelage
Assignee: Alessio Soldano
When deploying my application (ear with a couple of jar and war files) on Wildfly
11.0.0.Beta1-SNAPSHOT I get warnings like this one for all the war files:
{noformat}
WARN [org.jboss.as.jaxrs#deploy] WFLYRS0015: No Servlet declaration found for JAX-RS
application. In ws-common.war either provide a class that extends
javax.ws.rs.core.Application or declare a servlet class in web.xml.
{noformat}
When deploying the same ear file on a Wildfly 10.1. this warning message does not appear.
Those war files raising the warnings do not contain RESTful Webservices, only SOAP based
Webservices, and therefore do not need either servlet or class.
Only 2 sub modules contain RESTful Webservices and have a class extending
javax.ws.rs.core.Application.
Following jaikiran's analysis, the existence of at least one JAX-RS subdeployment
triggers the warning message for all other web modules in the war.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)