• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOUnit and EOEditingContext not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOUnit and EOEditingContext not found


  • Subject: WOUnit and EOEditingContext not found
  • From: John Larson <email@hidden>
  • Date: Mon, 25 Sep 2006 10:43:41 -0500

Um. Undoubtedly something stupid, but I can't get any extension of EOFTest to run. I keep getting NoClassDefFoundError: com/webobjects/ eocontrol/EOEditingContext. I'm pretty sure that I have my classpath set right since the project runs normally when not testing. If I don't extend EOFTest, then tests I write work fine - except there is no eo support - so I think the JUnit part is set up fine. Rather than installing the JAR, I also tried adding the source and compiling it and get the same error.

java.lang.NoClassDefFoundError: com/webobjects/eocontrol/ EOEditingContext
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
at java.lang.Class.getDeclaredMethods(Class.java:1763)
at org.junit.internal.runners.TestIntrospector.getTestMethods (TestIntrospector.java:26)
at org.junit.internal.runners.TestClassMethodsRunner.<init> (TestClassMethodsRunner.java:27)
at org.junit.internal.runners.TestClassRunner.<init> (TestClassRunner.java:20)
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:494)
at org.junit.internal.requests.ClassRequest.getRunner (ClassRequest.java:26)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init> (JUnit4TestReference.java:26)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init> (JUnit4TestClassReference.java:24)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest (JUnit4TestLoader.java:34)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests (JUnit4TestLoader.java:24)
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.jdt.internal.junit.runner.RemoteTestRunner.main (RemoteTestRunner.java:196)



Thank you, John _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: WOUnit and EOEditingContext not found
      • From: Christian Pekeler <email@hidden>
  • Prev by Date: Re: Unexpecting sort ordering on a parent (abstract) entity
  • Next by Date: Re: Unexpecting sort ordering on a parent (abstract) entity
  • Previous by thread: Re: Help - Relationships, Bindings, w/Full Text Search
  • Next by thread: Re: WOUnit and EOEditingContext not found
  • Index(es):
    • Date
    • Thread