严重: Exception starting filter struts2

来源:互联网 发布:仿淘宝首页 编辑:程序博客网 时间:2024/04/30 03:53

配置Struts2.2.3环境时,web.xml, struts.xml都设定完后,发现只要是web.xml上加上struts2的filter后,启动tomcat后就

开不了index.jsp.

从控制台看到tomcat启动时,报出了【严重: Exception starting filter Struts2 org.apache.commons.lang.StringUtils找不到】

于是查看添加在WEB-INF/lib里的struts2的jar包(commons-lang-2.5)。这个包里有找不到的那个类。

重启之后,能够打开index.jsp了。

 

原创粉丝点击