19-Jun-2020 10:49:11.860 严重 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.core.StandardContext.reload 启动Context[/WebRoot]出现异常
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WebRoot]]
at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3759)
at org.apache.catalina.startup.HostConfig.reload(HostConfig.java:1395)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1368)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1603)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:304)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1159)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1381)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1385)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1353)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: 由于StackOverflower错误,无法完成对web应用程序[/WebRoot]的批注的扫描。可能的根本原因包括-Xss的设置过低和非法的循环继承依赖项。正在处理的类层次结构是[org.apache.commons.httpclient.HttpException->org.apache.commons.httpclient.URIException->org.apache.commons.httpclient.HttpException]文章来源:https://www.toymoban.com/news/detail-515976.html
解决
直接重新maven clean 清除旧的war包重新编译运行即可。文章来源地址https://www.toymoban.com/news/detail-515976.html
到了这里,关于本地启动项目tomcat报错的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!