Dear Guillaume, It is now working. here's what I've done:
I had added the jars as plugin dependencies already. I just did a double check to see if they were ok. Then I went to the run config dialog to the plugins tab and I switched to 'plugins selected below' and then I clicked 'validate plugins' and unchecked those who were causing trouble. (So, I guess the prob had something to do with my eclipse instalation.) thanks a lot, p. On Wed, Jun 18, 2008 at 11:28 AM, Guillaume Bourel <[EMAIL PROTECTED]> wrote: > Hi Paulo, > rcpmail is a RCP application so jars should be added as plugins > dependencies. > If they already are, did you check they are really loaded in the run > configuration dialog (plugins tab => add required plugins) > > paulo carreira a écrit : >> Hi. >> >> I checked out both org.rcpmail and org.rcpmail.example had them >> both compiling. >> >> When I launch org.rcpmail.MyFirstTest, I always get a >> java.lang.NoClassDefFoundError: >> org/apache/commons/collections/map/MultiValueMap. >> >> I'm using commons-collections-3.2.1.jar and >> commons-logging-1.1.1.jar. And I have tried to add them to classpath >> in every way I could think of. Any hints? the trace follows below: >> >> junit.framework.AssertionFailedError: Exception in constructor: >> testThisPasses (java.lang.NoClassDefFoundError: >> org/apache/commons/collections/map/MultiValueMap >> at net.sf.swtbot.resolvers.Resolver.<init>(Resolver.java:36) >> at net.sf.swtbot.resolvers.Resolvable.<init>(Resolvable.java:35) >> at >> net.sf.swtbot.resolvers.DefaultChildrenResolver.<init>(DefaultChildrenResolver.java:28) >> at net.sf.swtbot.finder.ControlFinder.<init>(ControlFinder.java:75) >> at net.sf.swtbot.SWTBot.<init>(SWTBot.java:86) >> at net.sf.swtbot.SWTBotTestCase.<init>(SWTBotTestCase.java:37) >> at >> net.sf.swtbot.eclipse.finder.SWTBotTestCase.<init>(SWTBotTestCase.java:23) >> at org.rcpmail.MyFirstTest.<init>(MyFirstTest.java:7) >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> Method) >> at >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) >> at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) >> at java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> at junit.framework.TestSuite.createTest(TestSuite.java:54) >> at junit.framework.TestSuite.addTestMethod(TestSuite.java:280) >> at junit.framework.TestSuite.<init>(TestSuite.java:140) >> at >> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102) >> at >> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) >> at >> org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:58) >> at >> net.sf.swtbot.eclipse.ui.TestApplication.runTests(TestApplication.java:112) >> at >> org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:68) >> at java.lang.Thread.run(Thread.java:619) >> ) >> at junit.framework.Assert.fail(Assert.java:47) >> at junit.framework.TestSuite$1.runTest(TestSuite.java:90) >> at junit.framework.TestCase.runBare(TestCase.java:130) >> at junit.framework.TestResult$1.protect(TestResult.java:106) >> at junit.framework.TestResult.runProtected(TestResult.java:124) >> at junit.framework.TestResult.run(TestResult.java:109) >> at junit.framework.TestCase.run(TestCase.java:120) >> at junit.framework.TestSuite.runTest(TestSuite.java:230) >> at junit.framework.TestSuite.run(TestSuite.java:225) >> at >> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) >> at >> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) >> at >> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) >> at >> org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:58) >> at >> net.sf.swtbot.eclipse.ui.TestApplication.runTests(TestApplication.java:112) >> at >> org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:68) >> at java.lang.Thread.run(Thread.java:619) >> > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > SWTBot-users mailing list > SWTBot-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/swtbot-users > http://swtbot.org/ - a functional testing tool for SWT/Eclipse > > -- paulo. Paulo Carreira http://carreira.planetaclix.pt ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ SWTBot-users mailing list SWTBot-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swtbot-users http://swtbot.org/ - a functional testing tool for SWT/Eclipse