Monday, April 29, 2013

Re: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory



On Monday, April 29, 2013 5:50:30 PM UTC+2, Kris wrote:
If I remove the 
<scope>provided</scope>
it is still not going in the WEB-INF/lib. But should it, maven doesn't know about putting it there...

The maven-war-plugin's war mojo (called by default in the package phase when packaging=war) will put it there.

If I add the jar file to the classpath of the run configuration the problem is still there.. 
The reason why it is provided is that I use JBoss that has the jar file.


Then use JBoss for your dev, and run the DevMode in -noserver mode. 

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