[jboss-jira] [JBoss JIRA] (WFLY-8586) Warning "WFLYRS0015: No Servlet declaration found for JAX-RS application." raised for non-JAX-RS submodules

Alessio Soldano (JIRA) issues at jboss.org
Tue Apr 18 07:51:00 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-8586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated WFLY-8586:
----------------------------------
    Fix Version/s: 11.0.0.Beta1


> 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.Alpha1
>            Reporter: Frank Langelage
>            Assignee: Alessio Soldano
>             Fix For: 11.0.0.Beta1
>
>
> 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)


More information about the jboss-jira mailing list