AnsweredAssumed Answered

JDBC - NoClassDefFoundError -  ca.idms.qcli.JniQcli

Question asked by coradelmar on Feb 1, 2013
Latest reply on Mar 6, 2013 by Cal_Domingue
Hi,

i have treid the sample code delivered by CA (idmsjcf.html). This compiled Version is working fine.
The Problem : When I use the source-code in Eclispe with JRE 1.6 and JAVA SDK 1.6 and run the programm, the JAJA-Applet starts fine and show me the Entry-Screen (Same as in the precompiled code). When I try to connect with the same parameter (to an IDMS Database using Querrystring "jdbc:idms:Database", the follwing Error occur:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class ca.idms.qcli.JniQcli

at ca.idms.qcli.Qcli.<init>(Qcli.java:68)

at ca.idms.jdbc.IdmsConnection.open(IdmsConnection.java:1828)

at ca.idms.jdbc.IdmsJdbcDriver.connect(IdmsJdbcDriver.java:135)

at java.sql.DriverManager.getConnection(DriverManager.java:582)

at java.sql.DriverManager.getConnection(DriverManager.java:154)

at com.idms.JdbcTable.connect(JdbcTable.java:212)

at com.idms.JcfFrame.activateConnectDialog(IdmsJcf.java:419)

at com.idms.JcfFrame.access$0(IdmsJcf.java:407)

at com.idms.JcfFrame$1.actionPerformed(IdmsJcf.java:310)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)

at java.awt.Component.processMouseEvent(Component.java:6263)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

at java.awt.Component.processEvent(Component.java:6028)

at java.awt.Container.processEvent(Container.java:2041)

at java.awt.Component.dispatchEventImpl(Component.java:4630)

at java.awt.Container.dispatchEventImpl(Container.java:2099)

at java.awt.Component.dispatchEvent(Component.java:4460)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)

at java.awt.Container.dispatchEventImpl(Container.java:2085)

at java.awt.Window.dispatchEventImpl(Window.java:2475)

at java.awt.Component.dispatchEvent(Component.java:4460)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Does anyone know about this?

Help's appriciated

PS.: I'm usinf driver
idmsjdbc.jar - 10.3.2010.

Outcomes