在学习springMVC入门程序的时候,启动tomcat出现这个错误
Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/studySpringMVC]]
查了好半天,重启,删除tomcat再加进来。。。。
结果最后发现web.xml中的配置文件写错
<url-pattern>*.action</url-pattern> 少写了个*
改过来之后再重启tomcat就可以了
一万个.......
出现上述问题可能是web.xml配置文件写错了,也可能是其他问题,待发现,好好检查下