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

Coderanch | Jack Bush | 8 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Glassfish SQLException: Error in allocating a connection in MySQL (GlassFish forum at Coderanch)

    coderanch.com | 11 months ago
    java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
  2. 0

    Glassfish SQLException: Error in allocating a connection in MySQL

    Oracle Community | 8 years ago | htran_888
    java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
  3. 0

    Glassfish SQLException: Error in allocating a connection in MySQL

    Coderanch | 8 years ago | Jack Bush
    java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Glassfish SQLException: Error in allocating a connection in MySQL

    Oracle Community | 8 years ago | htran_888
    java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
  6. 0
    samebug 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.

  1. treefolk 2 times, last 4 months ago
  2. Tahir 2 times, last 7 months ago
  3. Piz 2027 times, last 9 months ago
  4. jedcua 1 times, last 10 months ago
  5. esaar 3 times, last 10 months ago
5 more registered users
90 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1498)
    1 frame
  3. Embedded GlassFish Web
    DataSourceObjectBuilder.constructDataSourceObject
    1. com.sun.gjc.common.DataSourceObjectBuilder.getDataSourceObject(DataSourceObjectBuilder.java:251)
    2. com.sun.gjc.common.DataSourceObjectBuilder.constructDataSourceObject(DataSourceObjectBuilder.java:106)
    2 frames