You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/01/18 08:30:26 UTC

[GitHub] liubao68 opened a new issue #381: How to run binaries against mysql

liubao68 opened a new issue #381: How to run binaries against mysql
URL: https://github.com/apache/servicecomb-pack/issues/381
 
 
   I downloaded binary releases from https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip and want to run it again mysql. 
   
   I used this command but it does not work:
   
   ```
   java -Dspring.profiles.active=mysql -D"spring.datasource.url=jdbc:mysql://localhost:3306/saga?useSSL=false" -Dspring.datasource.username=Y -Dspring.datasource.password=P -cp libs/mysql-connector-java-5.1.46.jar -jar alpha-server-0.3.0-exec.jar
   ```
   
   Error is:
   
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   Failed to bind properties under '' to com.zaxxer.hikari.HikariDataSource:
   
       Property: driverclassname
       Value: com.mysql.cj.jdbc.Driver
       Origin: "driverClassName" from property source "source"
       Reason: Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class loader or Thread context classloader
   
   Action:
   
   Update your application's configuration
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services