IDEA springboot工程运行启动,马上就停止服务,看不出什么问题,会是什么原因出现这种情况?请求解

ITdada 2020-10-18 08:31:08
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.

. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.3.4.RELEASE)

十月 18, 2020 8:23:19 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service [Tomcat]
十月 18, 2020 8:23:19 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet engine: [Apache Tomcat/9.0.38]
十月 18, 2020 8:23:19 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring embedded WebApplicationContext
十月 18, 2020 8:23:20 下午 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service [Tomcat]
Disconnected from the target VM, address: '127.0.0.1:59921', transport: 'socket'

Process finished with exit code 0
...全文
4449 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
ITdada 2020-10-19
  • 打赏
  • 举报
回复
<dependency>
		  <groupId>org.slf4j</groupId>
		  <artifactId>slf4j-simple</artifactId>
		  <version>1.7.25</version>
		  <scope>compile</scope>
	  </dependency>
谢谢,加上这个就好了,搞了好久。 出现这情况网友上的说jdk版本,或则tomcat版本问题,其实有可能是缺包,或者引入的jar包版本问题
KeepSayingNo 2020-10-19
  • 打赏
  • 举报
回复
检查下你的JDK是否安装好了
老王就是我 2020-10-19
  • 打赏
  • 举报
回复
看下jdk是否被占用
  • 打赏
  • 举报
回复
jdk版本过低

23,404

社区成员

发帖
与我相关
我的任务
社区描述
Java 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧