Loading

Mule APIkit for SOAP Router Throws "java.lang.NoClassDefFoundError" When Running with Java 17

Julkaisupäivä: Sep 12, 2025
Kuvaus

You may encounter the following error when attempting to upgrade and deploy your Mule application—originally built with JDK 8—to JDK 17. This application uses the Mule SOAP APIkit router:

"java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport"

Ratkaisu

This issue is caused by a runtime classpath conflict that occurs during API calls in Mule applications compiled with JDK 8 and executed on Mule 4.9.x with JDK 17.

The problem has been resolved starting from SOAPKit version 1.6.3. Upgrading to version 1.6.3 or later should fix the issue. (Ref: Release Notes: 1.6.3)

"W-18961619 - The runtime classpath issue in SOAPkit 1.6.2 is now resolved and no longer causes a NoClassDefFoundError during API calls in Mule apps that are compiled with JDK 8 and running on Mule 4.9.x with JDK 17."

Knowledge-artikkelin numero

005167078

 
Ladataan
Salesforce Help | Article