Tomcat启动报错之 少写“/” 错选 Application context
昨晚开始学习Tomcat,但是有各种蜜汁错误。
最先遇到的是这个破问题
Error during artifact deployment. See server log for details.
搜索了大量信息调整无果后,发现了这个东西
Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> [Demo01Servlet] in servlet mapping
是代码写错了( 就是第四行Demo0
原创
2020-05-22 17:00:02 ·
816 阅读 ·
0 评论