# java.lang.NoClassDefFoundError: com/sap/conn/jco/JCoTraceListener in MuleSoft: cause and fix

Source page: https://ipaaserrors.com/mulesoft/sap-noclassdeffounderror-jcotracelistener
Platform: MuleSoft · SAP Connector
Checked against vendor docs: 2026-11-30

This SAP Connector error means the SAP JCo JAR was not loaded when you tested the connection or deployed the app. Add the JCo library in the Required Libraries section of the connector configuration.

## Error text

```
java.lang.NoClassDefFoundError: com/sap/conn/jco/JCoTraceListener
```

## Likely causes

- The required SAP JCo dependencies are not loaded when testing the connection or deploying.

## How to fix it

1. In the connector's global configuration, find the Required Libraries section.
2. Click Configure next to the dependency marked with a red exclamation icon and select the file.
3. The dependency is added to the classpath automatically; test the connection again.

## Sources

- [Troubleshooting SAP Connector](https://docs.mulesoft.com/sap-connector/latest/sap-connector-troubleshooting)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/mulesoft/sap-noclassdeffounderror-jcotracelistener and the vendor documentation above.
