Classpath not found exception

Java Version : JDK 11

Encountered below exception while integration of Apache Calcite Avatica JDBC 

net.sf.jasperreports.engine.JRRuntimeException: java.lang.ClassNotFoundException: org.apache.calcite.avatica.remote.Driver cannot be found by
    at java.base/ Source)
Caused by: java.lang.ClassNotFoundException: org.apache.calcite.avatica.remote.Driver cannot be found by
    at org.eclipse.osgi.internal.loader.BundleLoader.generateException(
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Unknown Source)
    at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForRealName(
    ... 5 more


Note : Same driver jar is attached to Jasper reports server and connection was successfull.

mohammed.javeed's picture
Joined: Mar 20 2023 - 12:27am
Last seen: 5 days 12 hours ago

Try org.apache.calcite.jdbc.Driver

tchen - 2 months 5 days ago

1 Answer:


Please let us know which version of java are you using.

Make sure you are on the supported version of java.

Please go through the below attached platform support guide:


Swapnil Pawar's picture
Joined: Apr 22 2021 - 5:44am
Last seen: 2 days 8 hours ago