Wednesday, May 1, 2013

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



On Wednesday, May 1, 2013 7:33:12 PM UTC+2, Kris wrote:
Maybe I am way off, but I jsut run my webapp from eclipse. I do not run maven war plugin... 

Let's try again:

1. either you run your app in JBoss, and you're on your own (use Eclipse WTP or whatever), and then run the DevMode in -noserver mode (in Eclipse, it's something like Run as… → Web Application (with external server)); but you can have Slf4j with scope=provided
2. or you run your app in the DevMode embedded server, and you then have to run "mvn package" (or "mvn compile war:exploded") to copy the dependencies to WEB-INF/lib before you run the DevMode; but all your dependencies should be there then, so Slf4j cannot have scope=provided

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