java.lang.NoClassDefFoundError: com/instantiations/eclipse/u

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

java.lang.NoClassDefFoundError: com/instantiations/eclipse/u

Postby richa.sud » Tue Mar 27, 2007 10:30 pm

whenever i try to replay a junit test case , generated using WindowTester tool , i get the following error:

java.lang.NoClassDefFoundError: com/instantiations/eclipse/util/PluginUtilities
at com.instantiations.common.A.C.B.C(Unknown Source)
at com.instantiations.common.A.C.B.D(Unknown Source)
at com.instantiations.common.A.C.B.A(Unknown Source)
at com.instantiations.common.A.E.B.getActivationKeys(Unknown Source)
at com.instantiations.common.A.E.B.getActivationKeys(Unknown Source)
at com.instantiations.common.A.F.A.D(Unknown Source)
at com.instantiations.common.A.F.A.C.D(Unknown Source)
at com.instantiations.common.A.F.A.J(Unknown Source)
at com.instantiations.common.A.F.A.isFullyEnabled(Unknown Source)
at com.instantiations.common.A.F.A.C.isFullyEnabled(Unknown Source)
at com.windowtester.runtime.swt.internal.UIContextSWT.handleConditions(UIContextSWT.java:570)
at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:209)
at propcoofficeTest.testMain(propcoofficeTest.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.extensions.UITestCaseCommon.access$1(UITestCaseCommon.java:1)
at junit.extensions.UITestCaseCommon$1.run(UITestCaseCommon.java:140)
at junit.extensions.core.SequenceRunner$1.run(SequenceRunner.java:69)

can anyone please suggest me where can i find the com/instantiations/eclipse/util/PluginUtilities

thanks
richa.sud
 
Posts: 9
Joined: Tue Mar 20, 2007 4:41 am

Postby gnebling » Wed Mar 28, 2007 2:03 pm

You need to add
Code: Select all
com.instantiations.eclipse.util
and
Code: Select all
com.instantiations.common.core
to your build path.
gnebling
Moderator
 
Posts: 243
Joined: Tue Aug 22, 2006 7:49 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest