gpt4 book ai didi

java - Spring Boot 启动停留在 - INFO : Using a shared selector for servlet write/read

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:22:34 26 4
gpt4 key购买 nike

我无法从 eclipse 甚至命令提示符启动我的 spring boot 应用程序,因为应用程序启动卡在以下位置:

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.
2018-08-19 16:36:42,769 restartedMain ERROR Console contains an invalid element or attribute ""

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

Aug 19, 2018 4:36:46 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Tomcat]
Aug 19, 2018 4:36:46 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.16
Aug 19, 2018 4:36:47 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Aug 19, 2018 4:36:47 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring embedded WebApplicationContext
2018-08-19 16:36:48.213 INFO 9288 --- [ restartedMain] o.h.j.i.u.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2018-08-19 16:36:48.301 INFO 9288 --- [ restartedMain] o.h.Version : HHH000412: Hibernate Core {5.0.12.Final}
2018-08-19 16:36:48.303 INFO 9288 --- [ restartedMain] o.h.c.Environment : HHH000206: hibernate.properties not found
2018-08-19 16:36:48.305 INFO 9288 --- [ restartedMain] o.h.c.Environment : HHH000021: Bytecode provider name : javassist
2018-08-19 16:36:48.361 INFO 9288 --- [ restartedMain] o.h.a.c.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2018-08-19 16:36:48.665 INFO 9288 --- [ restartedMain] o.h.d.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
Aug 19, 2018 4:36:51 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-80"]
Aug 19, 2018 4:36:51 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-80"]
Aug 19, 2018 4:36:51 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read

我没有对我的应用程序进行任何更改,但突然间我无法启动我的应用程序。可能是什么问题?

最佳答案

这似乎是多个 tomcat 库的问题。检查 tomcat 7.x 是否被某些依赖项传递添加。排除它并再次构建运行

关于java - Spring Boot 启动停留在 - INFO : Using a shared selector for servlet write/read,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51917067/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com