[jboss-jira] [JBoss JIRA] (WFLY-9644) Wildfly 11 can't deploy simple REST web service if specified runtime-name doesn't ends with a packing type suffix.

Chao Wang (JIRA) issues at jboss.org
Tue Jul 3 03:35:01 EDT 2018


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

Chao Wang commented on WFLY-9644:
---------------------------------

This is a duplicate issue of WFCORE-3576. 
Although it's not mandatory for specified runtime-name to have a packing type suffix, it's advised to provide runtime-name with a suffix to help DUP to determine deployment type.

> Wildfly 11 can't deploy simple REST web service if specified runtime-name doesn't ends with a packing type suffix.
> ------------------------------------------------------------------------------------------------------------------
>
>                 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: Chao Wang
>         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