no class def found error
My functional test project is using an external java jar file and I have this file in my project lib folder. My project works fine with this jar file so long as I launch script execution from within RFT.
When I execute my test case from RQM which is calling an RFT script, the RFT script is failing at the point where it is referencing the jar file. I do not have any compilation errors but on execution, the following error is thrown. Has anybody experienced this before? # ava.lang.NoClassDefFoundError # com.ibm.rqm.integration.common.AdapterLoader # Script Name = Common.Drivers.topDriver # Script Id = Common.Drivers.topDriver.java # Line Number = 86 # at Common.Drivers.topDriver.testMain(topDriver.java:86) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) at org.eclipse.core.launcher.Main.main(Main.java:30) at com.rational.test.ft.util.FtClassLoader.loadClass(FtClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) |
One answer
This particular area is not a strong point of mine, but check out this post. Seems like you're not the first to hit this: http://jazz.net/forums/viewtopic.php?t=7615
Regards, John My functional test project is using an external java jar file and I have this file in my project lib folder. My project works fine with this jar file so long as I launch script execution from within RFT. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.