Skip to content

Unable to connect JDBC Driver #335

@Maduranga-Dinesh

Description

@Maduranga-Dinesh

I have mysql-connectors and JDBC drivers in Jasperstarter folder.

C:\Users\pcboo>jasperstarter --locale en process "C:\xampp\htdocs\Lar7Demo\public/vendor/geekcom/phpjasper/examples/samplex.jrxml" -o "C:\xampp\htdocs\Lar7Demo\public/vendor/geekcom/phpjasper/examples/samplex.pdf" -f pdf -t mysql -H localhost --db-port 3306 -n lar7demo -u root
Jul 24, 2023 10:05:21 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/Program%20Files%20(x86)/JasperStarter/lib/jasperreports-chart-themes-6.18.1.jar!/net/sf/jasperreports/chartthemes/spring/beans/chartThemesBeans.xml]
Jul 24, 2023 10:05:21 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/Program%20Files%20(x86)/JasperStarter/lib/jasperreports-chart-themes-6.18.1.jar!/net/sf/jasperreports/chartthemes/spring/beans/chartConstantsBean.xml]
Jul 24, 2023 10:05:21 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/Program%20Files%20(x86)/JasperStarter/lib/jasperreports-chart-themes-6.18.1.jar!/net/sf/jasperreports/chartthemes/spring/beans/defaultChartPropertiesBean.xml]
Jul 24, 2023 10:05:21 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/Program%20Files%20(x86)/JasperStarter/lib/jasperreports-chart-themes-6.18.1.jar!/net/sf/jasperreports/chartthemes/spring/beans/eyeCandySixtiesChartPropertiesBean.xml]
Jul 24, 2023 10:05:21 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from URL [jar:file:/C:/Program%20Files%20(x86)/JasperStarter/lib/jasperreports-chart-themes-6.18.1.jar!/net/sf/jasperreports/chartthemes/spring/beans/aegeanChartPropertiesBean.xml]
Unable to load driver: com.mysql.jdbc.Driver

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions