Hi,
When i try to deploy the war file on JBOSS 7.1 server.I am getting the following exception.Please let me know what could be the possible reason for this exception?
JBAS011232: Only one JAX-RS Application Class allowed. com.sun.jersey.api.core.PackagesResourceConfig com.sun.jersey.api.core.ClasspathResourceConfig com.sun.jersey.api.core.ScanningResourceConfig com.sun.jersey.api.core.ResourceConfig com.sun.jersey.api.core.WebAppResourceConfig com.sun.jersey.api.core.ApplicationAdapter com.sun.jersey.server.impl.application.ComponentsResourceConfig com.sun.jersey.api.core.DefaultResourceConfig com.sun.jersey.api.core.ClassNamesResourceConfig com.sun.jersey.server.impl.application.DeferredResourceConfig
[Server:server-one] at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.scan(JaxrsScanningProcessor.java:209)
[Server:server-one] at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.deploy(JaxrsScanningProcessor.java:105)
[Server:server-one] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
[Server:server-one] ... 5 more
[Server:server-one]
[Server:server-one] 18:45:54,691 INFO [org.jboss.as.server] (host-controller-connection-threads - 2) JBAS015870: Deploy of deployment "xxxx.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xxxx.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xxxx.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"xxxx.war\""}}