Re: java.lang.NoClassDefFoundError: JDBCPlugIn

From: Mike Schrag (mschra..dimension.com)
Date: Tue Mar 04 2008 - 17:47:20 EST

  • Next message: Sebastien Sahuc (JIRA): "[OS-JIRA] Created: (WOL-736) NPE while creating the .eogen for a quite complex model hierarchy"

    This looks very suspicious to me. I just did this test and it worked
    fine for me ... I'm assuming you define your plugin to be "JDBCPlugIn"
    in your connection dictionary? Out of curiosity, try removing that
    from the dictionary and see what happens?

    ms

    On Mar 4, 2008, at 3:26 PM, Julius Spencer wrote:

    > Hi,
    >
    >
    > On 5/03/2008, at 8:58 AM, Mike Schrag wrote:
    >
    >>> Caused by: java.lang.NoClassDefFoundError: JDBCPlugIn
    >> Can you include the rest of this stack trace? It looks chopped off
    >> -- we're misisng the line that actually generated the
    >> NoClassDefFound.
    >>
    >> ms
    >
    > Oh sure : ) Here's the whole thing:
    >
    > java.lang.RuntimeException: Failed to generate SQL.
    > at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
    > $
    > ReflectionSQLGenerator
    > .generateSchemaCreationScript(EOFSQLGeneratorFactory.java:57)
    > at
    > org
    > .objectstyle
    > .wolips
    > .eomodeler
    > .actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:271)
    > at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog
    > $1.run(GenerateSQLDialog.java:252)
    > at java.lang.Thread.run(Thread.java:613)
    > Caused by: java.lang.reflect.InvocationTargetException
    > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    > at
    > sun
    > .reflect
    > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    > at
    > sun
    > .reflect
    > .DelegatingMethodAccessorImpl
    > .invoke(DelegatingMethodAccessorImpl.java:25)
    > at java.lang.reflect.Method.invoke(Method.java:585)
    > at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
    > $
    > ReflectionSQLGenerator
    > .generateSchemaCreationScript(EOFSQLGeneratorFactory.java:55)
    > ... 3 more
    > Caused by: java.lang.NoClassDefFoundError: JDBCPlugIn
    > at java.lang.ClassLoader.defineClass2(Native Method)
    > at java.lang.ClassLoader.defineClass(ClassLoader.java:774)
    > at
    > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
    > 160)
    > at java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
    > 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:316)
    > at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    > 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:374)
    > 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.jdbcadaptor.JDBCAdaptor._createPlugIn(JDBCAdaptor.java:
    > 349)
    > at com.webobjects.jdbcadaptor.JDBCAdaptor.plugIn(JDBCAdaptor.java:
    > 513)
    > at
    > org
    > .objectstyle
    > .wolips
    > .eomodeler
    > .core
    > .sql
    > .EOFSQLGenerator.generateSchemaCreationScript(EOFSQLGenerator.java:
    > 379)
    > ... 8 more
    >
    >
    > PS: Just thought I'd say I really enjoy using the Eclipse WOLips
    > stuff. I'm finding it much faster than XCode.
    >



    This archive was generated by hypermail 2.0.0 : Tue Mar 04 2008 - 17:48:47 EST