0

I have installed MySQL's JDBC driver both by MySQL installer and manually downloading from MySQL's web site but still I get this error in JasperReports Server 6.2.0:

com.mysql.jdbc.Driver

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1293) 

How can I add the com.mysql.jdbc.Driver?

Alex K
  • 22,315
  • 19
  • 108
  • 236
ilhan
  • 8,700
  • 35
  • 117
  • 201

2 Answers2

1

There ( http://www.example.com:8080/jasperserver ) was database connection. I had to edit it. It asked me to upload the JDBC.

com.mysql.jdbc.Driver

http://community.jaspersoft.com/documentation/jasperreports-server-administration-guide/v561/managing-jdbc-drivers (Petter Friberg)

Community
  • 1
  • 1
ilhan
  • 8,700
  • 35
  • 117
  • 201
0

I think you should put the driver in tomcat lib folder "$CATALINA_HOME/lib".

semperfids
  • 197
  • 8