Exception in thread "WorkbenchTestable" [message #884488] |
Mon, 11 June 2012 03:14  |
Eclipse User |
|
|
|
Hi after successfuly using SWTbot on a test project at home I tried using it on a real project at the office. Now I get:
Exception in thread "WorkbenchTestable" java.lang.IllegalArgumentException: No Classloader found for plug-in de.test.toolboox
at org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.getClassLoader(RemotePluginTestRunner.java:79)
at org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.getTestClassLoader(RemotePluginTestRunner.java:73)
It seems that log4j is missing. But I added a log4j dependency (1.2.16). That should at least satisfy [1.2.13,1.3.0).
And org.apache.log4j_1.2.12 is missing. But how to add that as a plugin ?
BTW: I'm using Eclipse 3.7.2 on Mac OS x.
Regards
Roger
Logoutput:
!ENTRY org.eclipse.osgi 2 0 2012-06-11 09:00:00.958
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-11 09:00:00.959
!MESSAGE Bundle reference:file:/Applications/eclipseRCP/plugins/org.eclipse.swtbot.eclipse.gef.finder_2.0.5.20111003_1754-3676ac8-dev-e36.jar was not resolved.
!SUBENTRY 2 org.eclipse.swtbot.eclipse.gef.finder 2 0 2012-06-11 09:00:00.959
!MESSAGE Missing imported package org.apache.log4j_[1.2.13,1.3.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-11 09:00:00.959
!MESSAGE Bundle reference:file:/Applications/eclipseRCP/plugins/org.eclipse.swtbot.eclipse.finder_2.0.5.20111003_1754-3676ac8-dev-e36.jar was not resolved.
!SUBENTRY 2 org.eclipse.swtbot.eclipse.finder 2 0 2012-06-11 09:00:00.960
!MESSAGE Missing imported package org.apache.log4j_[1.2.13,1.3.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-11 09:00:00.960
!MESSAGE Bundle reference:file:/Applications/eclipseRCP/plugins/org.eclipse.swtbot.junit4_x_2.0.5.20111003_1754-3676ac8-dev-e36.jar was not resolved.
!SUBENTRY 2 org.eclipse.swtbot.junit4_x 2 0 2012-06-11 09:00:00.960
!MESSAGE Missing imported package org.apache.log4j_1.2.12.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-11 09:00:00.960
!MESSAGE Bundle reference:file:/Applications/eclipseRCP/plugins/com.sun.syndication_0.9.0.v200803061811.jar was not resolved.
!SUBENTRY 2 com.sun.syndication 2 0 2012-06-11 09:00:00.961
!MESSAGE Missing imported package org.jdom.filter_1.0.0.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07832 seconds