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)