[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

Dean Schulze (JIRA) issues at jboss.org
Sun Dec 31 18:15:00 EST 2017


Dean Schulze created WFLY-9644:
----------------------------------

             Summary: 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


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