• 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: ERXEntityClassDescription - Invalid class name for entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXEntityClassDescription - Invalid class name for entity


  • Subject: Re: ERXEntityClassDescription - Invalid class name for entity
  • From: Ash Mishra <email@hidden>
  • Date: Mon, 13 Oct 2008 16:37:28 -0700



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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >ERXEntityClassDescription - Invalid class name for entity (From: Ash Mishra <email@hidden>)
 >Re: ERXEntityClassDescription - Invalid class name for entity (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Locking problem
  • Next by Date: Re: Locking problem
  • Previous by thread: Re: ERXEntityClassDescription - Invalid class name for entity
  • Next by thread: Re: ERXEntityClassDescription - Invalid class name for entity [SOLVED]
  • Index(es):
    • Date
    • Thread