struts2.0 错误集
<filter><filter-name>struts2</filter-name><filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class><init-param><param-name>config</param-name><param-value>struts-default.xml,struts-plugin.xml,/../config/struts.xml</param-value></init-param></filter>
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
解决此问题的方法为以下:
在WEB-INF/lib里加入
jstl.jar
standard.jar两个包即可解决这个问题
Can not find the tag library descriptor for "/struts-tags"
struts-core-xxx.jar包不是struts2的需要在web中配置:
<jsp-config><taglib> <taglib-uri>/struts-tags</taglib-uri> <taglib-location>/WEB-INF/lib/struts-core-1.3.10.jar</taglib-location> </taglib></jsp-config>
引用
启动服务jetty或tomcat时报异常:
java.lang.IncompatibleClassChangeError: Implementing class
说明有重复的jar包。。。去除重复 ok