[jboss-jira] [JBoss JIRA] (WFLY-9644) Wildfly 11 can't deploy simple REST web service because it can't find javax.ws.rs.core.Application

Katerina Novotna (JIRA) issues at jboss.org
Tue Jan 2 08:33:00 EST 2018


    [ https://issues.jboss.org/browse/WFLY-9644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508508#comment-13508508 ] 

Katerina Novotna commented on WFLY-9644:
----------------------------------------

I couldn't reproduce the issue. The deployment of the test application with empty subclass of javax.ws.rs.core.Application deploys without issues. Test app attached. 

> Wildfly 11 can't deploy simple REST web service because it can't find javax.ws.rs.core.Application
> --------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-9644
>                 URL: https://issues.jboss.org/browse/WFLY-9644
>             Project: WildFly
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 11.0.0.Final
>         Environment: Ubuntu 16.04, JDK 1.8
>            Reporter: Dean Schulze
>            Assignee: Alessio Soldano
>         Attachments: test-app.zip
>
>
> Simple JAX-RS .war file with an Application .class file (extends javax.ws.rs.core.Application) and one resource .class file.  No web.xml file.  Deploying gives this error:
> Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.pdfupload.POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"pdfupload\" Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYRS0006: Could not load JAX-RS Application class Caused by: java.lang.ClassNotFoundException: pdf.upload.server.PdfUploadApplication from [Module \"deployment.pdfupload\" from Service Module Loader]"}}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list