java.lang.IllegalStateException: 启动子级时出错
IDEA/Myeclipse/eclipse运行项目时出现:java.lang.IllegalStateException: 启动子级时出错at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)找到项目的web.xml。在web.xml文件中,Servlet测试代码前加注释:@WebSer
·
IDEA/Myeclipse/eclipse运行项目时出现:
java.lang.IllegalStateException: 启动子级时出错
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
找到项目的web.xml。在web.xml文件中,Servlet测试代码前加注释:@WebServlet("/test")
HttpPutFormContentFilter
/
DruidWebStatFilter
com.alibaba.druid.support.http.WebStatFilter
exclusions
.js,.gif,.jpg,.png,.css,.ico,/druid/
DruidWebStatFilter
/
index.jsp
/.jsp
true
Servlet的url-partten加上"/":
即可解决问题。
更多推荐
所有评论(0)