Re: Exception generating SQL

From: Mike Schrag (mschra..dimension.com)
Date: Tue Sep 26 2006 - 10:47:32 EDT

  • Next message: Ulrich Köster: "Re: WO profiling w/Eclipse?"

    any idea what is referencing CSArrayUtilities or GenericComparator in
    your model? can you grep inside your eomodel folder for both of
    fhose and see if there's a reference?

    On Sep 25, 2006, at 6:26 PM, Brendan Duddridge wrote:

    > Hi,
    >
    > When I try to generate SQL in one of my models, I get the following
    > exception:
    >
    > java.lang.NoClassDefFoundError: com/clickspace/csutilities/
    > CSArrayUtilities$GenericComparator
    > 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:121)
    > 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
    > (SQLUtils.java:31)
    > at
    > org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql
    > (GenerateSQLDialog.java:266)
    > at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run
    > (GenerateSQLDialog.java:248)
    > at java.lang.Thread.run(Thread.java:613)
    >
    > I have my CSUtilities project in my workspace along with the
    > project that has the model and entity that I'm trying to generate
    > SQL for.



    This archive was generated by hypermail 2.0.0 : Tue Sep 26 2006 - 10:47:36 EDT