This content has been marked as final.
Show 3 replies
-
1. Re: TestSuite in Eclipse problem
jeremyrd Oct 23, 2008 10:30 AM (in response to hbpost)I had the same problem - obligatory blog entry here : http://arrogantprogrammer.blogspot.com/2008/10/jbossws.html.
I haven't figured out why this is happening; however, the problem disappeared when I imported the project into a fresh Eclipse install. I was running Eclipse 3.3 with JBossTools installed when the error was occurring.
I'll file a Jira issue if I can reproduce. -
2. Re: TestSuite in Eclipse problem
angusm Dec 29, 2008 9:46 AM (in response to hbpost)I had the same problem. I tried with a 1.6 jre and got this stack trace:
java.lang.NoClassDefFoundError: Testsuite/output Caused by: java.lang.ClassNotFoundException: Testsuite.output at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) Exception in thread "main"
I then downloaded a new Eclipse, as described above, and it was OK. However I had to go back to jre 1.5 because I hit the problem described here: https://jira.jboss.org/jira/browse/JBWS-2418. -
3. Re: TestSuite in Eclipse problem
angusm Dec 29, 2008 11:32 AM (in response to hbpost)I have had this problem again. it happens when you tick 'Copy projects into workspace'.
So for the JBossWS samples testsuite in Eclipse I recommend:
Do NOT tick 'Copy projects into workspace'.
DO use a jre 1.5.