The required Server component failed to start so Tomcat is unable to start
来源:互联网 发布:掌中宝是什么软件 编辑:程序博客网 时间:2024/06/14 07:35
今天在wen.xml项目中修改了
<url-pattern>/form</url-pattern>
中url值,发现这个值你必须加"/",如果写成
<url-pattern>form</url-pattern>就会报错,tomcat无法启动
报错信息头:The required Server component failed to start so Tomcat is unable to start
此外,url值不能和<url-name>值完全相同,这个值是区分大小写,所以如果你的name是LoginServlet,那么url可以是/loginServelt或是其他不同的值也行.
在引用这个loginServlet时,如果引用方不和LoginServlet在同一目录下,请务必加上路径如:
<form id="login" method="post"action="${pageContext.request.contextPath}/loginServlet">
0 0
- The required Server component failed to start so Tomcat is unable to start
- The required Server component failed to start so Tomcat is unable to start问题解决
- The required Server component failed to start so Tomcat is unable to start问题解决
- The required Server component failed to start so Tomcat is unable to start.
- tomcat报错:严重: The required Server component failed to start so Tomcat is unable to start. org.apache.
- The required Servercomponent failed to start so Tomcat is unable to start问题解决
- idea Failed to start component
- Failed to start component [StandardEngine.......
- Unable to start debugging on the web server. Debugging failed because integrated windows authentication is not enabled.
- Unable to start debugging on the web server. The project is not configured to be debugged.
- Unable to start debugging on the web server. The project is not configured to be debugged.
- tomcat org.apache.catalina.LifecycleException: Failed to start component
- tomcat org.apache.catalina.LifecycleException: Failed to start component
- springboot出现 Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]
- tomcat启动的时候报错:Failed to start component
- unable to start debugging on the web server.The web server is not configured
- Unable to start embedded Tomcat
- A child container failed during start(Failed to start component [StandardEngine[Tomcat].StandardHos)
- Java web 从数据库读取菜单,显示在jsp中
- mybatis的探索过程之SqlSessionFactoryBuilder,SqlSessionFactory,SqlSession作用域和生命周期
- eclipse使用working set管理项目
- html 5新增结构标签
- ANDROID中EDITTEXT设置输入条件
- The required Server component failed to start so Tomcat is unable to start
- 将图片保存到相册的工具类
- An internal error occurred during: "Launching MVC on Tomcat 6.x". java.lang.NullPointerException
- hdu6024 简单dp
- swift 关于背景图片的拉伸与平铺
- 设计模式之适配器模式
- 网站防火墙探测工具Wafw00f
- python基础学习(五):列表
- 数据结构与算法(17)——二叉树遍历