Error with jdbc mysql connections with jasper server

I am using jasper server CP 5.0.0. I have configured the data source properties like this

Set Data Source Type and Properties

Driver (required):com.mysql.jdbc.Driver
URL (required):jdbc:mysql://localhost:3306/jasperserver

The connection is failed when clicked on test connection

When I am running the report I am getting a error

Error Message

com.jaspersoft.jasperserver.api.JSExceptionWrapper: com.mysql.jdbc.Driver

Error Message
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Error Trace

java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at 

I have been searching this for a long time with no success.

Answers


You should add mysql drivers jar file to the build path of your project.


Need Your Help

Automatically growing lists in Python

python list

Is there a way to make an automatically growing list in Python? What I mean is to make a list that would grow when an index that does not yet exist is referenced. Basically the behaviour of Ruby ar...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.