Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求大神解答下列疑问。 #40

Open
sakura-szy opened this issue Dec 20, 2020 · 0 comments
Open

请求大神解答下列疑问。 #40

sakura-szy opened this issue Dec 20, 2020 · 0 comments

Comments

@sakura-szy
Copy link

java -jar C:\Users\Desktop\webproject\spring-boot-online-exam\backend\exam\target\exam-0.0.1-SNAPSHOT.jar

  1. ERROR 13736 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
  2. java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
  3. WARN 13736 --- [ main] o.s.b.a.orm.jpa.DatabaseLookup : Unable to determine jdbc url from datasource
    org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta-data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
  4. ERROR 13736 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
  5. java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed
  6. 2020-12-20 14:40:29.094 WARN 13736 --- [ main] o.h.e.j.e.i.JdbcEnvironmentInitiator : HHH000342: Could not obtain connection to query metadata : Public Key Retrieval is not allowed
  7. 2020-12-20 14:40:29.094 WARN 13736 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  8. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  9. 2020-12-20 14:40:29.125 ERROR 13736 --- [ main] o.s.boot.SpringApplication : Application run failed
  10. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
    进行解析包的时候,出现以上错误,配置文件不知道从哪里开始配置,请求解答,感激不尽。救救孩子小白叭
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant