[ https://issues.apache.org/jira/browse/GRIFFIN-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eugene closed GRIFFIN-179. -------------------------- > Deploy questions > ---------------- > > Key: GRIFFIN-179 > URL: https://issues.apache.org/jira/browse/GRIFFIN-179 > Project: Griffin > Issue Type: Test > Affects Versions: 0.2.0-incubating > Reporter: Kwang-in (Dennis) JUNG > Assignee: Kevin Yao > Priority: Minor > > Hello, > I'm starter of this project, and have some question of setting up. > This is my application.properties... > ``` > spring.datasource.url = > jdbc:mysql://localhost:3306/quartz?autoReconnect=true&useSSL=false > spring.datasource.username = griffin > spring.datasource.password = 123456 > spring.jpa.generate-ddl=true > spring.datasource.driver-class-name = com.mysql.jdbc.Driver > ... > ``` > ...and it shows problem... > > ``` > ... > 2018-07-13 14:33:52.190 ERROR 6603 --- [ main] o.s.b.SpringApplication : > Application startup failed > org.springframework.beans.factory.UnsatisfiedDependencyException: Error > creating bean with name 'eclipseLinkJpaConfig' defined in URL > [jar:file:/Users/jung/workspace/etc/incubator-griffin/service/target/service-0.2.0-incubating-SNAPSHOT.jar!/BOOT-INF/classes!/org/apache/griffin/core/config/EclipseLinkJpaConfig.class]: > Unsatisfied dependency expressed through constructor parameter 0; nested > exception is org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'dataSource' defined in class path resource > [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Tomcat.class]: > Bean instantiation via factory method failed; nested exception is > org.springframework.beans.BeanInstantiationException: Failed to instantiate > [org.apache.tomcat.jdbc.pool.DataSource]: Factory method 'dataSource' threw > exception; nested exception is java.lang.IllegalStateException: Cannot load > driver class: com.mysql.jdbc.Driver > at > org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) > ~[spring-beans-4.3.6.RELEASE.jar!/:4.3.6.RELEASE] > at > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) > ~[spring-beans-4.3.6.RELEASE.jar!/:4.3.6.RELEASE] > ... > ``` > > As you see, I'm trying to work on with mysql. > Could you give me some help? > > Thanks. -- This message was sent by Atlassian JIRA (v7.6.14#76016)