E3 Tree 在 Glasshfish下bug的修複

來源:互聯網
上載者:User

對e3 tree 不瞭解的可以參考

http://e3.group.javaeye.com/

由於在glasshfish下報一個這樣的錯誤

Unable to read TLD "META-INF/E3Tree.tld" from JAR file "file:/D:/project/glassfish/domain/lotterysys/e3/WEB-INF/lib/e3.jar": org.apache.jasper.JasperException: PWC6329: 
TLD specifies invalid body-content (EMPTY) for custom tag userAttribute 

剛開始考慮是路徑問題,檢查半天沒查出什麼來。
既然是e3標籤報錯,開啟再說。

用winrar開啟e3.jar
進入e3.jar\META-INF目錄
開啟E3Tree.tld
找到

<tag>        <name>userAttribute</name>        <tagclass>net.jcreate.e3.tree.taglib.UserAttributeTag</tagclass>        <bodycontent>EMPTY</bodycontent>        <info></info>        <attribute>            <name>name</name>            <required>true</required>            <rtexprvalue>true</rtexprvalue>        </attribute>        <attribute>            <name>value</name>            <required>true</required>            <rtexprvalue>true</rtexprvalue>        </attribute>    </tag>    

 

將<bodycontent>EMPTY</bodycontent>的EMPTY改成小寫。
重啟伺服器一切ok。

此問題的解決有一半幸運因素。哈哈~

e3.jar 在jboss 下也不能正常使用,哪位仁兄有解決方案發上來分享一下。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.