Re: java.lang.NoClassDefFoundError: JDBCPlugIn

From: Fabian Peters (lists.fabia..-lumo.com)
Date: Tue Mar 04 2008 - 04:46:33 EST

  • Next message: Ken Anderson: "Entity Modeler SQL generation and inheritance"

    Hi Julius,

    Am 04.03.2008 um 07:57 schrieb Julius Spencer:

    > Hi,
    >
    > I'm having real trouble when using Eclipse to create SQL. I get the
    > following error:
    >
    > 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
    >
    > The last line says it all I guess. In the properties of my project I
    > have checked:
    > Java Build Path => Libraries => WebObjects Frameworks => Edit... =>
    > System => JavaJDBCAdaptor
    >
    > I figured that should do the trick, but perhaps I'm reading the
    > error message incorrectly. If anyone could give me direction that
    > would be great.

    I think what's missing is the plugin framework for your DB. So, if
    you're on Postgres, you should have the PostgresqlPlugIn on the
    classpath of the eclipse project that contains your model.

    > Cheers,
    > Julius.

    HTH, Fabian



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