java.lang.NoClassDefFoundError when generating SQL in Entity Modeler

From: Kieran Kelleher (kieran_list..ac.com)
Date: Sun Apr 22 2007 - 23:31:06 EDT

  • Next message: D Tim Cummings (JIRA): "[OS-JIRA] Created: (WOL-412) WOComponent editor shows two Component tabs when working on a project"

    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._initWithTableOfContentsPropertyListPath
    URL(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):

    .... and here is the entity attributes (image):



    This archive was generated by hypermail 2.0.0 : Sun Apr 22 2007 - 23:32:10 EDT