When starting the Business API server for local testing from Visual Studio Code (VSCode), the application fails to start with the following error in the api.log: ERROR Error loading data sources: java.lang.ClassNotFoundException: ca.idms.jdbc.IdmsDataSource
The error is caused by a version incompatibility between the Gradle build system and the installed Java version. Gradle 7.5.1 does not support Java 19 and later. When running on Java 21, the build fails to correctly initialize the class cache and load the IDMS JDBC driver classes, resulting in the ClassNotFoundException.
To resolve this error, upgrade the Gradle version and refresh the project environment:
idmsjdbc.jar file is present in the /lib directory of your project. If the file is missing or corrupted, download a fresh copy from the Broadcom Support Portal. ./gradlew clean./gradlew build./gradlew bootRun.