Try these:

Add
System.out.println(NSArray.componentsSeparatedByString (System.getProperty("java.class.path"), ":").componentsJoinedByString ("\n")); to one of your tests and run it. See if the output includes JavaEOControl.framework.

Double check the Eclipse Properties of your project. See if the Java Build Path/Libraries include JavaEOControl.framework.

Delete the corresponding run-configuration: Select menu Run/Run..., in the tree view expand JUnit and select your test (or simply all tests), and right-click delete it/them.


Christian



On Sep 25, 2006, at 09:43, John Larson wrote:
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to