歡迎您光臨本站 註冊首頁

tomcat 轉resin 問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

tomcat 轉resin 問題

網站原來在tomcat 下跑,很正常。現想轉為resin 結果報標籤錯。請大家幫幫忙,是改哪兒個地方了。
500 Servlet Exception
WEB-INF/web.xml:18: <description> is an unexpected tag (parent <jsp-property-group>
starts at 6). Check for duplicate and out-of-order tags.

<include-coda> is expected,
or </jsp-property-group> may close.

<jsp-property-group> syntax: (@id?, <description>*, <display-name>?, <icon>?,
<url-pattern>+, <el-ignored>?, <page-encoding>?, <scripting-invalid>?,
<is-xml>?, <include-prelude>*, <include-coda>*)


--------------------------------------------------------------------------------
Resin-3.0.19 (built Mon, 15 May 2006 04:50:47 PDT)
《解決方案》

本帖最後由 zang232 於 2010-12-09 16:01 編輯

resin是神馬版本的,可能是servlet規範支持的問題;查一下 web.xml中定義的版本<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
與Resin版本支持的是否一致!!還有就是jsp的版本支持,否則的話一些新功能可能用不了~~

給你個tomcat的參考:


另外查看resin目錄下的servlet-api.jar 中的版本;如果沒有或不好使的話,把tomcat目錄下的jsp-api.jar和servlet-api.jar兩個jar包拷到resin和CLASSPATH路徑中就可以了~~

[火星人 ] tomcat 轉resin 問題已經有647次圍觀

http://coctec.com/docs/service/show-post-15772.html