首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

struts2.0 异常集

2012-11-17 
struts2.0 错误集filterfilter-namestruts2/filter-namefilter-classorg.apache.struts2.dispatch

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

热点排行