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._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: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.
Here's what my .classpath file looks like:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/CSUtilities"/>
<classpathentry kind="lib" path="/Library/WebObjects/Extensions/
commons-codec-1.3.jar"/>
<classpathentry kind="lib" path="/Library/WebObjects/Extensions/
OstermillerUtils.jar"/>
<classpathentry kind="lib" path="ssmodel-properties.jar"/>
<classpathentry kind="lib" path="/Library/WebObjects/Extensions/
moneris2.jar"/>
<classpathentry kind="lib" path="/Library/WebObjects/Extensions/
jakarta-oro-2.0.6.jar"/>
<classpathentry kind="lib" path="/Library/WebObjects/Extensions/
lucene.jar"/>
<classpathentry kind="con"
path="org.objectstyle.wolips.ContainerInitializer/10/1/
PostgresqlPlugIn/1/nil/1/nil/1/0/1/false/10/1/JavaEOAccess/1/nil/1/
nil/1/0/1/false/10/1/JavaEOControl/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="output" path="bin"/>
</classpath>
Any ideas?
Thanks,
____________________________________________________________________
Brendan Duddridge | CTO | 403-277-5591 x24 | brenda..lickspace.com
ClickSpace Interactive Inc.
Suite L100, 239 - 10th Ave. SE
Calgary, AB T2G 0V9
This archive was generated by hypermail 2.0.0 : Mon Sep 25 2006 - 18:26:20 EDT