Tuesday, February 5, 2013

issues with slf4j

Hi,

I have a GWT project defined as main project, including entry point. this project has dependencies to two other projects, one of them is a module, as it is also needed for the UI, the other one is just a plain simple java project as it is only referenced on the server side including the service implementation. the simple java project has a dependency to another project that handles all the hbase stuff. 

at some point here lies the problem. when initializing a connection to HBase Zookeeper tries to initialize Slf4j, which is on the classpath (of the project that needs the hbase libraries). But somehow I get the following error: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

which I do not understand. In the console (I use eclipse and the gwt (2.5) plugin) I see that it automatically adds the libraries located in the referenced projects if it doesn't find it in the main gwt project. but not slf4j-api. I use log4j, and log4j was initialized successfully.

Anybody who already had the same problem or any hints?

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment