Hello,
I have troubles with Wicket Unit Testing. I have built an application on
NetBeans with Wicket 1.2.6 and everything works fine but when I try to do
some Unit tests with WicketTester it throws always an exception at Runtime:

Testcase: testValidLinks(org.yannart.wicket.pages.IndexTest):    Caused an
ERROR
javax/servlet/GenericServlet
java.lang.NoClassDefFoundError: javax/servlet/GenericServlet
       at org.yannart.wicket.pages.IndexTest.testValidLinks(IndexTest.java
:35)

The code that throws the exception is the creation of the WicketTester
object:
WicketTester tester = new WicketTester();

Thanks for your help.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to