Workato · SAP connector
java.lang.NoClassDefFoundError: com/sap/conn/idoc/jco/JCoIDoc
Short answer
This error means the SAP Java IDoc Library is missing from the agent. Download SAP JIDocLib and add sapidoc3.jar to the lib_ext folder.
VerifiedLast verified
01Error text
java.lang.NoClassDefFoundError: com/sap/conn/idoc/jco/JCoIDoc02Likely causes
- The SAP Java IDoc Library is missing.
03How to fix it
- Download SAP JIDocLib.
- Add
sapidoc3.jarto thelib_extfolder. - Restart the agent.
04Official documentation
→Related errors
- java.lang.NoClassDefFoundError: com/sap/conn/jco/JCoExceptionThis 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.
- Cannot invoke IDocTypeBean.getSegMap() because "selected" is nullThis error means the agent tried to create a trigger before it finished retrieving metadata from SAP. Wait 90 seconds for the on-prem agent to retrieve the metadata, then try again.
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