SAP Java Connector

128 Views Asked by At

I am trying to develop an application in Java with the SAP Java Connector, but I have problems when I try to execute the jar file that I export from Eclipse.

I have this error:

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class com.sap.conn.jco.JCo
        at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.java:56)
        at TABLE_BSAK.TEST(TABLE_BSAK.java:68)
        at TABLE_BSAK.main(TABLE_BSAK.java:551)
Exception in thread "JCoPoolFinalizerThread" java.lang.NoClassDefFoundError: Could not initialize class com.sap.conn.jco.rt.JCoRuntimeFactory
        at com.sap.conn.jco.rt.ConnectionManager.clearAllFactories(ConnectionManager.java:106)
        at com.sap.conn.jco.rt.ConnectionManager$PoolFinalizer.run(ConnectionManager.java:56)
        at java.base/java.lang.Thread.run(Thread.java:834)

Someone can help me?

Thanks!

0

There are 0 best solutions below