Tag Archives: JBoss AS7

Encountering the “Only one JAX-RS Application Class allowed.” in JBoss AS7 server.


If like me you have tried deploying RESTful Web services to JBoss AS7 using Jersey framework you could have encountered the  “Only one JAX-RS Application Class allowed.” error Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011232: Only one JAX-RS Application Class allowed. org.glassfish.jersey.server.ResourceConfig org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig org.glassfish.jersey.server.ResourceConfig$RuntimeConfig com.restaurant.jersey.JerseyApplication at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.scan(JaxrsScanningProcessor.java:209) at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.deploy(JaxrsScanningProcessor.java:105) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] … 5 more you will need […]

https://thejavanode.wordpress.com/2015/08/11/encountering-the-only-one-jax-rs-application-class-allowed-in-jboss-as7-server/

Building JAX-RS REST api using Spring 4, Jersey and Gradle. Part 1: Setting up the project and dependencies in Gradle


In this series of blog post I would be demonstrating developing REST api using Spring 4 and Jersey. With Gradle for build and dependency management.Also, we would be using Spring Java configuration for all the spring bean dependency injection. We would be using the following: Spring 4, configuration using Spring Java configuration(@Configuration) Jersey 2.19 Gradle […]

https://thejavanode.wordpress.com/2015/08/17/building-jax-rs-rest-api-using-spring-4-jersey-and-gradle-part-1-setting-up-the-project-and-dependencies-in-gradle/