mercredi 10 octobre 2018

Error during compiling Axis2 Web Services

I'm writing a Java Web Services using Axis 2 and I'm receiving the below error message when I want to view my web services.

SEVERE: Unable to create initial connections of pool.
java.sql.SQLException: Unable to load class: org.postgresql.Driver from ClassLoader:java.net.URLClassLoader@5451c3a8;ClassLoader:java.net.URLClassLoader@5451c3a8

SEVERE: Unable to create initial connections of pool.
java.sql.SQLException: Unable to load class: com.mysql.jdbc.Driver from ClassLoader:java.n

WARNING: Failed to register in JMX: javax.naming.NamingException: Unable to load class: com.mysql.jdbc.Driver from ClassLoader:java.net.URLClassLoader@5451c3a8;ClassLoader:java.net.URLClassLoader@5451c3a8
Oct 10, 2018 2:53:40 PM org.apache.tomcat.jdbc.pool.ConnectionPool init
SEVERE: Unable to create initial connections of pool.
java.sql.SQLException: Unable to load class: org.postgresql.Driver



SEVERE: Exception processing Global JNDI Resources
javax.naming.NamingException: Unable to load class: org.postgresql.Driver

I already include posgresql.jar and mysql lib in Axis 2 lib folder.

Any suggestion how to fix it

Aucun commentaire:

Enregistrer un commentaire