Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1900

Teiid client jar file is not complete: NoClassDefFoundError: org/jboss/modules/ModuleLoadException

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 8.0
    • 8.0
    • JDBC Driver
    • None
    • Hide

      add org.jboss.dmr library as dependent jar file.

      Show
      add org.jboss.dmr library as dependent jar file.
    • Low

    Description

      After adding the Teiid driver in SQuirreL, I was unable to connect to the Teiid 8 server. Here's the stacktrace:
      java.lang.NoClassDefFoundError: org/jboss/modules/ModuleLoadException
      at org.teiid.jdbc.TeiidDriver.<init>(TeiidDriver.java:74)
      at org.teiid.jdbc.TeiidDriver.<clinit>(TeiidDriver.java:61)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
      at java.lang.Class.newInstance0(Class.java:372)
      at java.lang.Class.newInstance(Class.java:325)
      at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.registerSQLDriver(SQLDriverManager.java:75)
      at net.sourceforge.squirrel_sql.client.gui.db.DataCache.registerDriver(DataCache.java:491)
      at net.sourceforge.squirrel_sql.client.gui.db.DataCache.loadDrivers(DataCache.java:388)
      at net.sourceforge.squirrel_sql.client.gui.db.DataCache.<init>(DataCache.java:119)
      at net.sourceforge.squirrel_sql.client.Application.executeStartupTasks(Application.java:744)
      at net.sourceforge.squirrel_sql.client.Application.startup(Application.java:222)
      at net.sourceforge.squirrel_sql.client.Main$2.run(Main.java:118)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
      at java.awt.EventQueue.access$000(EventQueue.java:96)
      at java.awt.EventQueue$1.run(EventQueue.java:608)
      at java.awt.EventQueue$1.run(EventQueue.java:606)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
      at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:99)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
      Caused by: java.lang.ClassNotFoundException: org.jboss.modules.ModuleLoadException
      at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
      at net.sourceforge.squirrel_sql.fw.util.MyURLClassLoader.findClass(MyURLClassLoader.java:209)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
      ... 30 more

      Attachments

        Activity

          People

            rhn-engineering-rareddy Ramesh Reddy
            pnittel_jira Paul Nittel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: