tomcat 启动报.ClassNotFoundException

信息: Starting Servlet Engine: Apache Tomcat/9.0.8
八月 28, 2019 2:48:57 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: 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.
八月 28, 2019 2:48:57 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Error configuring application listener of class [org.apache.shiro.web.env.EnvironmentLoaderListener]
java.lang.ClassNotFoundException: org.apache.shiro.web.env.EnvironmentLoaderListener

 

 

解决方法:

1、项目右键->【Properties】->【Deployment Assembly】->【Add】

2、把maven的依赖添加进去

3、重启tomcat,可正常启动


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部