Springboot 啟動時不報錯一直卡住,{dataSource-1} inited
Springboot 啟動時不報錯一直卡住,{dataSource-1} inited
問題描述
在啟動boot專案時候,一直卡住,{dataSource-1} inited,也不報錯,控制檯輸出停止在這一行
2020-09-09 11:13:07.612 INFO 13880 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2020-09-09 11:13:07.612 INFO 13880 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'corsFilter' to: [/*]
2020-09-09 11:13:07.796 INFO 13880 --- [ restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource
2020-09-09 11:13:07.900 INFO 13880 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited
然後等的時間久一點就會往下稍微一走,如此
2020-09-09 11:13:07.796 INFO 13880 --- [ restartedMain] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource
2020-09-09 11:13:07.900 INFO 13880 --- [ restartedMain] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited
_ _ |_ _ _|_. ___ _ | _
| | |\/|_)(_| | |_\ |_)||_|_\
/ |
3.3.2
2020-09-09 11:15:32.966 INFO 13880 --- [ restartedMain] s.c.a.AnnotationConfigApplicationContext : Refreshing FeignContext-service-redis: startup date [Wed Sep 09 11:15:32 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4830b639
2020-09-09 11:15:40.509 INFO 13880 --- [ restartedMain] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2020-09-09 11:18:02.579 INFO 13880 --- [ restartedMain] s.c.a.AnnotationConfigApplicationContext : Refreshing FeignContext-service-staff: startup date [Wed Sep 09 11:18:02 CST 2020]; parent: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@4830b639
問題分析
boot在啟動時候,回去做一些自動載入和包掃描,這裡卡在了mybatis這裡,我猜測實在掃描的時候出現了點問題,但是為啥不報錯呢,思考了一下,這個時候程式也是在跑的,就想著可能是在載入的時候斷點了????哦,看來是斷點了!
問題解決
斷點的原因!既然如此肯定是有斷點了找一下
看來是不小心的時候點上去了,哎 還是要謹慎~
以上!
相關文章
- INFO DruidDataSource-{dataSource-1} inited 載入緩慢或者卡住不動UI
- Springboot啟動一直卡在{dataSource-1} inited 如果你clean也沒有效果請點看Spring Boot
- 解決:啟動service時候不斷在載入mybatis裡的mapper或者專案啟動一直停留在{dataSource-1} initedMyBatisAPP
- springBoot初學出現問題 {dataSource-1} initedSpring Boot
- Tomcat啟動時Initializing Spring FrameworkServlet 'springmvc'卡住,並且不報錯TomcatFrameworkServletSpringMVC
- Idea啟動專案報{dataSource-1} closed錯誤Idea
- com.alibaba.druid.pool.DruidDataSource.info {dataSource-1} initedUI
- 關於啟動Tomcat出現[com.alibaba.druid.pool.DruidDataSource:xxx] {dataSource-1} inited卡死的問題TomcatUI
- 連線oracle資料庫時,報錯:{dataSource-1} init errorOracle資料庫Error
- spring boot 與 mybatis-plus 專案出現Debug啟動非常緩慢,{dataSource-1,defaultDruid} inited 要40s左右Spring BootMyBatisUI
- Idea啟動SpringBoot報錯:程式包xxx 不存在IdeaSpring Boot
- Springboot專案啟動後訪問Controller報錯404Spring BootController
- MySQL更新卡住報錯lock wait timeoutMySqlAI
- myeclipse啟動報錯Eclipse
- idea啟動專案時一直buildIdeaUI
- springboot使用jpa啟動報錯consider defining a bean of type '*.*.**Repository' in your configuration....Spring BootIDEBean
- 本地nacos啟動報錯
- Homestead 啟動 elasticsearch 報錯Elasticsearch
- 啟動docker容器時報錯:iptables: No chain/target/match by that name.DockerAI
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- 解決啟動openfeign報錯
- laravel sail 首次啟動報錯LaravelAI
- Mac 上啟動 appium 報錯MacAPP
- apache啟動報錯:httpd: aprApachehttpd
- Springboot啟動時執行指定程式碼Spring Boot
- spring配置檔案中配置了,但找不到Bean , 啟動不報錯,執行報錯No bean namedSpringBean
- mac 下終端啟動 appium,執行程式碼時報錯MacAPP行程
- linux系統下Apache服務啟動時80埠報錯LinuxApache
- spring boot 啟動時報錯The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized orJDBC driverSpring BootServerZedJDBC
- 處理mysql無法啟動且啟動時服務沒報錯的異常情況MySql
- SpringBoot專案引入Elasticsearch時啟動失敗Spring BootElasticsearch
- mongodb啟動報錯怎麼辦MongoDB
- Xcode啟動RN報錯"`fsevents` unavailable"XCodeAI
- Centos7啟動Nginx報錯。CentOSNginx
- Redis 啟動報錯Address already in useRedis
- nginx 啟動報錯 unknown directive "server"NginxServer
- springboot整合mina報錯Spring Boot
- mac 上構建 Jenkins+allure 報告時,一直報錯--急,線上等MacJenkins