hi Dennis,

>From the error log,
Factory method 'dataSource' threw exception; nested exception is
java.lang.IllegalStateException:
Cannot load driver class: com.mysql.jdbc.Driver

It seems you are using mysql as storage , could you show your code base so
we can reproduce your issue?


Thanks,
William

On Fri, Jul 13, 2018 at 1:40 PM, Kwang-in (Dennis) JUNG (JIRA) <
j...@apache.org> wrote:

> Kwang-in (Dennis) JUNG created GRIFFIN-179:
> ----------------------------------------------
>
>              Summary: Deploy questions
>                  Key: GRIFFIN-179
>                  URL: https://issues.apache.org/jira/browse/GRIFFIN-179
>              Project: Griffin (Incubating)
>           Issue Type: Test
>     Affects Versions: 0.2.0-incubating
>             Reporter: Kwang-in (Dennis) JUNG
>
>
> 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.3#76005)
>

Reply via email to