Re: java.lang.NoClassDefFoundError: JDBCPlugIn

From: Julius Spencer (jspence..uliusspencer.co.nz)
Date: Tue Mar 04 2008 - 18:01:07 EST

  • Next message: Michael Hast: "WOComponent Editor Command-K Search Forward"

    Hi,

    Not too sure: these are the settings (I should have posted these
    already). If I've got the wrong end of the stick I apologise.

    I was following this:
    http://wiki.objectstyle.org/confluence/download/attachments/196928/PostgresSQL-EM.png

    Thank you,
    Julius.

    On 5/03/2008, at 11:47 AM, Mike Schrag wrote:

    > 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 - 18:02:31 EST