I'm developing a lightweight webapp prototype using eclipse. Dev-wise
everything work like a charm even if I need to deploy in JBoss instead
of the built-in server (jetty?). Somehow, as soon as I try to run the
simplest juint test on my model, it fails with the following error:

java.lang.NoSuchMethodError:
org.apache.catalina.startup.Embedded.setDebug(I)V
        at
com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.<init>(EmbeddedTomcatServer.java:
212)
        at
com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.start(EmbeddedTomcatServer.java:
74)
        at com.google.gwt.dev.GWTShell.doStartUpServer(GWTShell.java:201)
        at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035)
        at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:
660)
        at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:541)
        at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
406)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:282)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
83)
        at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:
46)
        at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:
38)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
467)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
683)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
390)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
197)

My webapp is following the MVP pattern and I don't plan on using junit
to test the views, but I would like to test the model and presenter
classes, and the async procedures if possible...

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to