Workato · SAP connector
java.lang.NoClassDefFoundError: com/sap/conn/jco/JCoException
This error means the SAP Java Connector (JCo) library is missing or is not on the agent's classpath. Add the JCo files to lib_ext and make sure config.yml lists lib_ext in the classpath.
VerifiedLast verified
01Error text
java.lang.NoClassDefFoundError: com/sap/conn/jco/JCoException02Likely causes
- The SAP Java Connector (JCo) library is missing or is not referenced in the agent classpath.
03How to fix it
Download the JCo libraries for the agent's operating system.
Add to the
lib_extfolder in the agent home:sapjco3.jar, the native library (sapjco3.dll,libsapjco3.soorlibsapjco3.dylib) andsap-connector-impl-<version>.jar.Check that
config.ymlincludeslib_extin the classpath:server: classpath: - lib_extCheck the YAML indentation in
config.yml. Incorrect formatting can stop the agent loading the SAP profile.Restart the agent.
04Official documentation
→Related errors
- java.lang.NoClassDefFoundError: com/sap/conn/idoc/jco/JCoIDocThis error means the SAP Java IDoc Library is missing from the agent. Download SAP JIDocLib and add sapidoc3.jar to the lib_ext folder.
- java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.pathThis error means the agent's SAP Java Connector package does not match the host operating system. Download and install the JCo version for the agent's OS.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Workato work:Open Workato jobsWorkato rates and salariesHire a senior Workato developer