java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)
2021-08-23 23:24:54.706 INFO 1280 --- [ restartedMain] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2021-08-23 23:24:54.716 ERROR 1280 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
The dependencies of some of the beans in the application context form a cycle:
┌─────┐
| org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
↑ ↓
| dataSource
└─────┘
Disconnected from the target VM, address: '127.0.0.1:51933', transport: 'socket'
Process finished with exit code 0
解决:
启动类加入 @ImportResource({ "classpath:bytetcc-supports-springcloud.xml" })
网友评论