Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More

Qlik Talend Studio: NoClassDefFoundError for SAP DestinationDataProvider

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
wei_guo
Support
Support

Qlik Talend Studio: NoClassDefFoundError for SAP DestinationDataProvider

Last Update:

Sep 2, 2024 10:58:35 PM

Updated By:

Shicong_Hong

Created date:

Apr 24, 2024 3:46:14 AM

When executing a Talend Studio job using an SAP Connection, the job may fail with the following error: 

Connection failure. You must change the SAP Settings.
java.lang.NoClassDefFoundError: com/sap/conn/jco/ext/DestinationDataProvider
at org.talend.repository.sap.SAPClientManager.init(SAPClientManager.java:121)
at org.talend.repository.sap.SAPClientManager.init(SAPClientManager.java:95)
at org.talend.repository.sap.ui.wizards.SAPConnectionForm$10.run(SAPConnectionForm.java:374)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.lang.ClassNotFoundException: com.sap.conn.jco.ext.DestinationDataProvider cannot be found by org.talend.libraries.sap_7.3.1.20211105_0234-patch
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)

at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 4 more

Resolution

The root cause is that studio initialised with the wrong version of jar, which needs to be replaced with the official sapjco3.jar file from SAP.

To resolve:

  1. Browse to your Talend Studio's installation folder 
  2. Go to <Studio installation folder>\configuration\.m2\
    repository\org\talend\libraries\com.sap.conn.jco.sapjco
  3. Remove com.sap.conn.jco.sapjco 
  4. Reinstall sapjco3.jar

sapjco3 jar file.png

 

Related Content

For further investigation on installing external modules to Talend Studio, please refer to Installing external modules to Talend Studio.

 

Environment

Talend Studio 

Labels (1)
Version history
Last update:
‎2024-09-02 10:58 PM
Updated by: