This content has been marked as final.
Show 10 replies
-
-
2. Re: Weld SE and slf4j
peteroyle.howardmoon.hitcity.com.au Feb 17, 2010 2:38 PM (in response to pieter.martin)Now it's fixed :)
-
-
4. Re: Weld SE and slf4j
christian.bauer May 5, 2011 6:28 AM (in response to pieter.martin)This is not fixed in 1.1.1-Final. Weld SE is unusable in its current packaging, I don't want your slfuckjava-simple.
-
5. Re: Weld SE and slf4j
christian.bauer May 5, 2011 6:45 AM (in response to pieter.martin)If you want to use Weld in Java SE, don't use this Maven dependency:
<dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se</artifactId> <version>1.1.1.Final</version> </dependency>
Use this instead:
<dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se-core</artifactId> <version>1.1.1.Final</version> </dependency> <dependency> <groupId>org.jboss.weld</groupId> <artifactId>weld-core</artifactId> <version>1.1.1.Final</version> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.14.0-GA</version> </dependency> <!-- Here you pick what logging system you really want to use --> <dependency> <groupId>org.slf4j</groupId> <!-- Oh, I have an idea! There is one in every JVM classpath! --> <artifactId>slf4j-jdk14</artifactId> <!-- Has to be >= 1.5.5 because SLF4J is garbage --> <version>1.5.10</version> </dependency>
-
-
7. Re: Weld SE and slf4j
ozizka Jul 8, 2011 6:13 PM (in response to pieter.martin)Sorry if I am missing something obvious - but
why there's no artifact like weld-se-core with dependency on weld-core and javaassist? -
8. Re: Weld SE and slf4j
ozizka Jul 8, 2011 8:04 PM (in response to pieter.martin)Now I see that weld-se-core actually depends on weld-core which depends on javaassist.
So only weld-se-core is needed - just tried with my SE app. -
9. Re: Weld SE and slf4j
ozizka Jul 8, 2011 8:29 PM (in response to pieter.martin)And, for the next time, I'd suggest to name it weld-se-bundle to make it clear right from artifact name. WDYT.
-
10. Re: Weld SE and slf4j
jraduget Sep 17, 2011 4:34 PM (in response to pieter.martin)In my case with slf4j 1.6.2 and log4j, weld-se works fine, only with this dependencies :
<dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se-core</artifactId> <version>1.1.1.Final</version> </dependency> <dependency> <groupId>org.jboss.weld</groupId> <artifactId>weld-core</artifactId> <version>1.1.1.Final</version> <exclusions> <exclusion> <artifactId>slf4j-ext</artifactId> <groupId>org.slf4j</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.6.2</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-ext</artifactId> <version>1.6.2</version> </dependency>