[
https://issues.jboss.org/browse/WFLY-9644?page=com.atlassian.jira.plugin....
]
R Searls commented on WFLY-9644:
--------------------------------
I also have deployed this app on wfly-11 and it deploys and runs successfully.
However as noted in ref [1] above the user is using a deployment wizard which is renaming
the deployment archive and removing the extension. I deployed the app by copying the
archive into the standalone/deployment directory. The extension was kept in tact.
Ref [2] above discusses the issue of wlfy's processing of deployments where the
archive does not provide an identifiing extension. This is not a Resteasy issue. This is
a wfly issue.
I also note that this issue is linked to
https://issues.jboss.org/browse/WFCORE-3576.
This
issue is really a deployment/scanner issue as is WFCORE-3576. I am going to recatagorize
and reassign this jira.
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: R Searls
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)