On 13-Oct-08, at 3:29 PM, Chuck Hill wrote:

I'm trying to switch a WOApp that has a framework with my model and entity classes to use Project Wonder. I've followed the Quickstart guide, but the following error occurs when the application launches:

[main] WARN er.extensions.ERXEntityClassDescription - Invalid class name for entity: Account exception: java.lang.ClassNotFoundException: Account using com.webobjects.eocontrol.EOGenericRecord instead


I've googled this, and seen some others have had this problem, but I did not find a resolution. I've switched from EOGenericRecord to ERXGenericRecord to see if that would help, but no luck.


I don't know how you did this but Account.class is not on the classpath. Check your project settings.


That makes no sense, since the project was able to find the Account class in the framework prior to switching over to using ERXApplication.

My settings include the framework in the Java Build Path - Projects tab. I've also tried to do it by referencing the installed framework in /Library/Frameworks instead.

Anyway, here's my Eclipse classpath, where BJFramework is the framework with my Entity classes. I didn't manually create the classpath file.


<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="src" path="Sources"/>
<classpathentry kind="con" path="org.objectstyle.wolips.ContainerInitializer/10/1/ERExtensions/1/ nil/1/nil/1/0/1/false/10/1/ERJars/1/nil/1/nil/1/0/1/false/10/1/ JavaDirectToWeb/1/nil/1/nil/1/0/1/false/10/1/JavaDTWGeneration/1/nil/1/ nil/1/0/1/false/10/1/JavaEOAccess/1/nil/1/nil/1/0/1/false/10/1/ JavaEOApplication/1/nil/1/nil/1/0/1/false/10/1/JavaEOControl/1/nil/1/ nil/1/0/1/false/10/1/JavaEODistribution/1/nil/1/nil/1/0/1/false/10/1/ JavaEOInterface/1/nil/1/nil/1/0/1/false/10/1/JavaEOProject/1/nil/1/nil/ 1/0/1/false/10/1/JavaFoundation/1/nil/1/nil/1/0/1/false/10/1/ JavaJDBCAdaptor/1/nil/1/nil/1/0/1/false/10/1/JavaWebObjects/1/nil/1/ nil/1/0/1/false/10/1/JavaWOExtensions/1/nil/1/nil/1/0/1/false/10/1/ JavaXML/1/nil/1/nil/1/0/1/false"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry combineaccessrules="false" kind="src" path="/ BJFramework"/>
        <classpathentry kind="output" path="bin"/>
</classpath>

_______________________________________________
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