本帖子记录本人在开发和学习过程中遇到的所有异常,以方便下次查阅。常更新
1.LifecycleException
- org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/myBatis_one_war]]
原因: 在Serviet层 的@WebServlet(“UserServlet”) 忘记写 /;
2.DocumentException
- Exception in thread “main” org.dom4j.DocumentException: Test.xml (系统找不到指定的文件。)