Friday, April 26, 2013

java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

Hi, I have a class path problem. 

Using eclipse juno, maven plugin and gwt plugin. 

In my gwt server code I use slf4j. When doing something on the gui that makes a RPC I get.. 

java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

My project has a maven structure, and has 
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>

Google settings : War directory : src/main/webapp

I seem to have a lot of problem with having a maven GWT project. Seems like the maven plugin and the GWT plugin really dont work together that well. 



--
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