jasper reports: java.lang.classnotfoundexception: com.mysql.jdbc.driver

https://community.jaspersoft.com/questions/542137/where-put-jdbc-driver-jars-or-add-path

Thanks for the reply. I missed the "Driver Classpath" tab in the Data Adapter dialog. Obvious really!

It would still be useful to add the driver to the classpath so it is always available. The only thing I could find which looks anything like the standard Eclipse way was in Preferences as I mentioned above. Can you be more specific about where to set this up?

Stacktrace attached.

Leave a Reply

Your email address will not be published. Required fields are marked *