I use Jboss As 6 and there is already a Jboss logging-lib within the jboss lib directory. When using this:
<dependency> <groupId>org.jboss.seam.solder</groupId> <artifactId>seam-solder</artifactId> <version>3.0.0.Beta1</version> </dependency>
seam-soldier puts jboss-logging also into my lib-directory of my web-war-file, so I have duplicate jboss-logging-lib.
Is that normal?
So, just put an exclusion into your maven dependency for solder.
okay, I did that:
<dependency> <groupId>org.jboss.seam.solder</groupId> <artifactId>seam-solder</artifactId> <version>3.0.0.Beta1</version> <exclusions> <exclusion> <groupId>org.jboss.logging</groupId> <artifactId>jboss-logging</artifactId> </exclusion> </exclusions> </dependency>
However, am I forced to use jboss-logger or can I also use slf4j? For example, Hibernate uses slf4j, so jboss-lib directory has both slf4j and jboss-logger.
Is it a problem? I have also jboss-logging-3.0.0.Beta4.jar in my lib folder and my webapp works like a charm...
I was in common with slf4j, but no its not a problem:)