users@glassfish.java.net

glassfish embedded slf4j dependency version conflict with wicket; need to

From: <forums_at_java.net>
Date: Tue, 3 Apr 2012 09:34:01 -0500 (CDT)

I use org.glassfish.main.extras:glassfish-embedded-web:3.1.2 in my project,
however it has slf4j included inside its jar. Wicket 6 uses sl4j as a
dependency and now I end up with two slf4j implementations and naturally a
conflict (MethodNotFoundException). Since wicket uses the highest version of
slf4j (1.6.4) I would like to exclude glassfish's slf4j implementation, but
that is not possible because glassfish is one big jar. Is it possible to have
a not-one-jar glassfish-embedded-web as a dependency? When I try to include
org.glassfish.main.core:glassfish:3.1.2 I'm missing all kinds of API's and
get a "No module has a ModuleStartup implementation" exception.

--
[Message sent by forum member 'tbee']
View Post: http://forums.java.net/node/884782