[ 
https://issues.apache.org/jira/browse/GRIFFIN-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16719064#comment-16719064
 ] 

Saket Bihari commented on GRIFFIN-219:
--------------------------------------

Dear Team,

We tried by pulling the latest Code from the mentioned path but now facing 
issues related to NPM . Can you please suggest a suitable time for a webex 
session  to resolve this. We are struggling with griffin from quite some time 
pls help to resolve this asap.

 

Thanks,

Saket.

 

> Griffin 0.3.1 Application Startup getting Failed due to mysql driver
> --------------------------------------------------------------------
>
>                 Key: GRIFFIN-219
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-219
>             Project: Griffin (Incubating)
>          Issue Type: Bug
>    Affects Versions: 0.3.0-incubating
>         Environment: CentOS 7.5
>            Reporter: Saket Bihari
>            Assignee: Kevin Yao
>            Priority: Major
>
> Please find the details below:
> Executing: java -jar service-0.3.0-incubating.jar
> Getting Error: 
> ------------------------
> Exception encountered during context initialization - cancelling refresh 
> attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: 
> Error creating bean with name 'eclipseLinkJpaConfig' defined in URL 
> [jar:file:/root/griffin-0.3.0-incubating/service/target/service-0.3.0-incubating.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
> 2018-12-04 08:40:01.007 INFO 67767 --- [ main] 
> utoConfigurationReportLoggingInitializer :
> Error starting ApplicationContext. To display the auto-configuration report 
> re-run your application with 'debug' enabled.
> 2018-12-04 08:40:01.010 ERROR 67767 --- [ main] o.s.b.SpringApplication : 
> Application startup failed
> application.properties file:
> ------------------------------
> # jpa
> spring.datasource.url = 
> jdbc:mysql://xxxxxxx.cloudapp.azure.com:3306/quartz?autoReconnect=true&useSSL=false
> spring.datasource.username = username
> spring.datasource.password = password123
> spring.jpa.generate-ddl=true
> spring.datasource.driverClassName = com.mysql.jdbc.Driver
> spring.jpa.show-sql = true
> # hive metastore
> hive.metastore.uris = thrift://xxxxxx.cloudapp.azure.com:9083
> hive.metastore.dbname = default



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to