Springboot启动一直卡在{dataSource-1} inited 如果你clean也没有效果请点看

如果断点没有 clean也没用 项目重新编译也没效果,ok说明已经翻了很多资料了,  如果还没解决,运行到好好的项目怎么突然就卡住不动了呢. 其实这种情况也不是idea的问题, 可以考虑重新开启一个项目启动,正常启动的话,证明idea工具是没有出问题的

本文如果有效还请回来点个赞,谢谢

首先 上控制台信息

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
=================================================================================================

         大数据平台-balabalabala

=================================================================================================
六月 28, 2020 11:37:36 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service [Tomcat]
六月 28, 2020 11:37:36 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet engine: [Apache Tomcat/9.0.31]
六月 28, 2020 11:37:36 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring embedded WebApplicationContext
2020-06-28 11:37:36 JRebel: Monitoring Log4j configuration in 'file:/C:/Users/15011/eclipse-workspace/bigdata_share_platform/target/classes/log4j.properties'.
{dataSource-1} inited

日志打印已告知 SLF4J:Failed to load class "xxxxxx"  也就是第一行

问题很明显 项目中没有slf4j的jar


    org.slf4j
    slf4j-simple
    1.7.25
    compile

放上去Ok 如果你的情况依然没有解决,那么不要搜{dataSource-1} inited ; 请看控制台其他错误信息,还没有解决可以评论区留言

你可能感兴趣的:(Springboot启动一直卡在{dataSource-1} inited 如果你clean也没有效果请点看)