-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.0_CR1
-
None
-
Not Required
this affects
https://resteasy.svn.sourceforge.net/svnroot/resteasy/tags/RESTEASY_JAXRS_1_2_GA_CP02/jboss-integration-testing/
but also exists in EAP 5.1.0.CR1 RESTEasy component
similar issue is already discussed here: https://jira.jboss.org/browse/JBPAPP-3951
when trying to run jboss-integration-testing examples, message appears in log
13:04:27,649 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings.
13:04:27,649 ERROR [STDERR] SLF4J: Found binding in [vfszip:/.../common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class]
13:04:27,650 ERROR [STDERR] SLF4J: Found binding in [vfszip:/.../jboss-integration-testing/spring-integration-test/target/spring-integration-test.war/WEB-INF/lib/slf4j-simple-1.5.8.jar/org/slf4j/impl/StaticLoggerBinder.class]
13:04:27,650 ERROR [STDERR] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
this is caused by including slf4j-api and slf4j-simple dependencies in the final wars.
POMs of the examples should be changed so that slf4j dependencies have only test or provided scope
so that JBoss's own slf4j is used
they cannot be excluded completely as they're used by test cases. i've tried moving them to the test scope in all examples:
application-config-test
basic-integration-test
ejb-test
scanning-test
servlet-mapping-test
spring-integration-test
and they worked fine.
- blocks
-
JBPAPP-5357 Update RESTEasy to 1.2.1.GA_CP01
- Closed
- is related to
-
JBPAPP-4286 Different jars in RESTEasy and EWP
- Closed
- relates to
-
JBPAPP-3951 Deploying an application that has its own config for SLF4J causes errors in the server log
- Closed
-
AS7-8 Deploying an application that has its own slf4j jars causes errors in the server log
- Closed