Hey All,

 I am running my jetty with maven, and  I have a dependency in my POM for
wicket-contrib-tinymce. Maven downloaded the wicket-contrib-tinymce jar file
and I can see it in my repo. Jetty starts up fine as well, but I get a
NoClassDefFoundError when I click on a link that contains a page that
references this class.


I am not sure where or how the classpath is generated when I run
maven/jetty. Can someone please help?

WicketMessage: Can't instantiate page using constructor public
com.jasneo.web.EditQuestion()

Root cause:

java.lang.NoClassDefFoundError: wicket/contrib/tinymce/TinyMceBehavior
at com.jasneo.web.EditQuestion$QuestionsMCForm.<init>(EditQuestion.java:54)
at com.jasneo.web.EditQuestion.<init>(EditQuestion.java:25)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:149)


Thanks!
-- 
View this message in context: 
http://www.nabble.com/Maven-Class-not-found-exception-tp21944885p21944885.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to