碼上快樂
1秒登錄
首頁
榜單
標簽
關於
搜索
相關內容
簡體
繁體
springboot啟動報:Error creating bean with name 'dataSource' defined in class path resource
本文轉載自
查看原文
2019-06-17 15:47
2988
java
需要在啟動類的@EnableAutoConfiguration或@SpringBootApplication中添加exclude = {DataSourceAutoConfiguration.class},排除此類的autoconfig。啟動以后就可以正常運行。
×
免責聲明!
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。
猜您在找
springboot啟動報錯:Error creating bean with name 'servletEndpointRegistrar' defined in class path resource
[ERROR] Error creating bean with name 'aliCloudEdasSdk' defined in class path resource
Error creating bean with name 'entityManagerFactory' defined in class path resource
error creating bean with name 'defaultvalidator' defined in class path resource
Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource
SpringBoot項目測試類報錯: Error creating bean with name 'serverEndpointExporter' defined in class path resource ...
Error creating bean with name 'persistenceExceptionTranslationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/dao/PersistenceExceptionTranslationAutoConfiguration
Error creating bean with name 'entityManagerFactory' defined in class path resource解決方案
Error creating bean with name 'transactionManager' defined in class path resource [spring-dao.xml]
新建項目用flyway數據遷移時報錯找不到flyway org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource
粵ICP備18138465號
© 2018-2025 CODEPRJ.COM