trouble generating SQL with EntityModeler

From: David Holt (programmingos..ac.com)
Date: Tue May 13 2008 - 20:14:20 EDT

  • Next message: Chuck Hill: "Re: trouble generating SQL with EntityModeler"

    Hi all,

    In one of my projects I have created an entity and attempted to
    generate the new table. I get an error on SQL generation (see below).
    I just checked another project in the workspace and the SQL
    generation works fine. Can someone give me a clue as to what I might
    be doing wrong with this project?

    Eclipse 3.3.2, WOLips 3.3.5164, WebObjects 5.3, MacOS X 10.4.11

    Got an error pane saying: er/corebusinesslogic/ERCoreUserInterface.

    The details are as follows:

    java.lang.NoClassDefFoundError: er/corebusinesslogic/ERCoreUserInterface
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass
    (SecureClassLoader.java:124)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:579)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            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.core.sql.EOFSQLGenerator.<init>
    (EOFSQLGenerator.java:118)
            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.core.sql.EOFSQLGeneratorFactory.sqlGene
    rator(EOFSQLGeneratorFactory.java:33)
            at
    org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql
    (GenerateSQLDialog.java:294)
            at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run
    (GenerateSQLDialog.java:276)
            at java.lang.Thread.run(Thread.java:613)



    This archive was generated by hypermail 2.0.0 : Tue May 13 2008 - 20:16:12 EDT