java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

,

If JVM throws ClassNotFoundException the class is not found in classpath. It means that something is not configured correctly. So check the relevant class is in the classpath. If the class is packaged into a jar, the jar should also in the classpath.

Solutions on the web

via coderanch.com by Unknown author, 1 year ago
via Coderanch by Jack Bush, 1 year ago
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
via Oracle Community by htran_888, 1 year ago
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
via Oracle Community by htran_888, 1 year ago
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
via netbeans.org by Unknown author, 1 year ago
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
at com.sun.gjc.common.DataSourceObjectBuilder.getDataSourceObject(DataSourceObjectBuilder.java:251)

Users with the same issue

Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
473 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.