Re: java.lang.NoClassDefFoundError when generating SQL in Entity Modeler

From: Denis Frolov (de..emax.ru)
Date: Mon Apr 23 2007 - 06:30:52 EDT

  • Next message: Andrew Lindesay: "Debugging a Framework"

    Can this somehow be connected with http://issues.objectstyle.org/jira/
    browse/WOL-403 issue?

    On Apr 23, 2007, at 7:31 AM, Kieran Kelleher wrote:

    > I am getting a funny error when trying to genmerate SQL for a new
    > Entity I just added to my entity model. Any ideas what could be
    > causing this?
    >
    > java.lang.NoClassDefFoundError
    > at java.lang.Class.forName0(Native Method)
    > at java.lang.Class.forName(Class.java:164)
    > at com.webobjects.foundation._NSUtilities._classWithPartialName
    > (_NSUtilities.java:307)
    > at com.webobjects.foundation._NSUtilities.classWithName
    > (_NSUtilities.java:291)
    > at com.webobjects.eoaccess.EOModel._setEntityForEntityNameClassName
    > (EOModel.java:1242)
    > at com.webobjects.eoaccess.EOModel._addFakeEntityWithPropertyList
    > (EOModel.java:1280)
    > at
    > com.webobjects.eoaccess.EOModel._initWithTableOfContentsPropertyListPa
    > thURL(EOModel.java:1092)
    > at com.webobjects.eoaccess.EOModel.<init>(EOModel.java:802)
    > at com.webobjects.eoaccess.EOModelGroup.addModelWithPathURL
    > (EOModelGroup.java:498)
    > at org.objectstyle.wolips.eomodeler.sql.EOFSQLGenerator.<init>
    > (EOFSQLGenerator.java:125)
    > 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.objectstyle.wolips.eomodeler.sql.SQLUtils.createEOFSQLGenerator
    > (Unknown Source)
    > at
    > org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql
    > (Unknown Source)
    > at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run
    > (Unknown Source)
    > at java.lang.Thread.run(Thread.java:613)
    >
    > Nothing unusual about the entity it seems.
    > Here is the definition (image):
    > <pastedGraphic.tiff>
    >
    >
    >
    > .... and here is the entity attributes (image):
    > <pastedGraphic.tiff>
    >

    --
    Denis Frolov
    Design Maximum MA
    

    Tel: +7 863 2648211 Fax: +7 863 2645229 Web: http://www.designmaximum.com



    This archive was generated by hypermail 2.0.0 : Mon Apr 23 2007 - 06:33:25 EDT