• 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
Re: WOUnit and EOEditingContext not found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOUnit and EOEditingContext not found


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

Thanks Christian,

Right before I got your e-mail I found that I really wasn't keeping the wounittest jar in the right place. I had it in /system/library/ java/extensions folder with all the other extensions. I moved it into eclipse/plug-ins and it worked. I have a feeling that I really am not keeping it in the right place there either. Where should I keep it to be "like everyone else?" It works now, but I feel like that's not right since it's really not an eclipse plug-in.

John

On Sep 25, 2006, at 2:04 PM, Christian Pekeler wrote:

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


_______________________________________________ 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: Chuck Hill <email@hidden>
References: 
 >WOUnit and EOEditingContext not found (From: John Larson <email@hidden>)
 >Re: WOUnit and EOEditingContext not found (From: Christian Pekeler <email@hidden>)

  • Prev by Date: Re: WOUnit and EOEditingContext not found
  • Next by Date: Re: WOUnit and EOEditingContext not found
  • Previous by thread: Re: WOUnit and EOEditingContext not found
  • Next by thread: Re: WOUnit and EOEditingContext not found
  • Index(es):
    • Date
    • Thread