Hi Jevon,
Are you using mvn eclipse:eclipse to configure your project dependencies in
Eclipse?
++
Julien
________________________________
De : Jevon Wright <[email protected]>
À : JWebUnit Development mail list <[email protected]>
Envoyé le : Mardi, 2 Juin 2009, 1h00mn 02s
Objet : [JWebUnit-development] Debugging JWebUnit tests within Eclipse
Hi,
I'm trying to debug bug 2791025
(https://sourceforge.net/tracker/?func=detail&aid=2791025&group_id=61302&atid=497982)
but having trouble running test cases in a debug environment within
Eclipse. When I try to run one of the JWebUnit test cases in debug
mode, I get:
java.lang.NoClassDefFoundError: org/mortbay/jetty/Server
at net.sourceforge.jwebunit.tests.util.JettySetup.setUp(JettySetup.java:55)
at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
at junit.framework.TestResult.runProtected(TestResult.java:124)
jetty.jar is listed in Referenced Libraries so I guess it should work.
It works fine when I run the test cases using "mvn test".
Has anybody got experience with using Eclipse to develop JWebUnit?
Thanks
Jevon
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development