锘??xml version="1.0" encoding="utf-8" standalone="yes"?> Struts2.0.11.2姣擲truts2.0.11.1淇敼浜嗕竴浜涘畨鍏ㄦч棶棰樸?/p> 閰嶇疆鏍規(guī)嵁緗戜笂鐨勪緥瀛怲iles鐨勬椂鍊欙紝鍑虹幇涓や釜姣旇緝澶寸柤鐨勯棶棰橈紝緇堜簬寮勬槑鐧介敊鍦ㄤ粈涔堝湴鏂逛簡銆?/p> 1. org.apache.tiles.taglib.UseAttributeTag$Tei 鎵句笉鍒扮殑闂銆?/strong> 10:12:31,343 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception 榪欎釜鏄洜涓哄湪layout.jsp閲岄潰鐨則aglib璇存槑琛岄噷闈細(xì) 鍘熸潵浣跨敤鐨勬槸/WEB-INF/tiles.tld銆傝窡褰撳墠鐗堟湰涓嶅搴斻?浠巘iles-jsp-2.0.4.jar涓В鍘嬪嚭tiles-jsp.tld銆傛斁鍒板悎閫傜殑浣嶇疆錛屽湪澹版槑鐨勬椂鍊欏啓瀵瑰氨鍙互浜嗐?br /> 2. Attribute 'header' not found. 10:36:05,734 ERROR [RenderTagSupport] Error during rendering 榪欎釜闂鍑哄湪struts.xml涓畾涔夌殑 鏈枃鏉ヨ嚜錛?span style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px;">http://www.xuebuyuan.com/675702.html org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG 榪欎釜tiles.xml涓殑DOCTYPE 璇存槑瀛楁鏄繖鏍風(fēng)殑錛?/p> "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN" 榪欐牱鏄敊璇殑錛屽簲璇ュ啓鎴?/p> "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
]]>
java.lang.ClassNotFoundException: org.apache.tiles.taglib.UseAttributeTag$Tei
鍙﹀錛?span style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13px; line-height: normal;"> WEB-INF/lib 娣誨姞jar: tiles-api-2.0.6.jar tiles-core-2.0.6.jar tiles-jsp-2.0.6.jar
javax.servlet.jsp.JspException: Error executing tag: Attribute 'header' not found.
/WEB-INF/tiles.xml
"http://jakarta.apache.org/struts/dtds/tiles-config.dtd">
"http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
鏉ヨ嚜錛?/span>http://www.xuebuyuan.com/675702.html
]]>
… <filter> <filter-name>struts2</filter-name> <filter-class> org.apache.struts2.dispatcher.FilterDispatcher </filter-class>
浼?xì)鍑虹?br style="margin: 0px; padding: 0px;" />***********************************************************************
* WARNING!!! *
* *
* >>> FilterDispatcher <<< is deprecated! Please use the new filters! *
* *
* This can be a source of unpredictable problems! *
* *
* Please refer to the docs for more details! *
* http://struts.apache.org/2.x/docs/webxml.html *
* *
***********************************************************************
鍘熷洜鍦ㄤ簬:
Class FilterDispatcher Deprecated. Since Struts2.3.16.1, use StrutsPrepareAndExecuteFilter instead or StrutsPrepareFilterand StrutsExecuteFilter if needing using the ActionContextCleanUp filter in addition to this one..鍗籌紝浠嶴truts 2.1.3璧峰凡琚爣娉ㄤ負(fù)榪囨椂鐨勶紝鏀圭敤StrutsPrepareAndExecuteFilter
瑙e喅鏂規(guī)硶錛屽皢web.xml涓婅堪浠g爜鏀逛負(fù)錛?/p>
…
<filter> <filter-name>struts2</filter-name> <filter-class> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter </filter-class> </filter>