IBM websphere6.1 不支持泛型、int-Integer類型的自動裝箱和拆箱問...
IBM websphere6.1 不支持泛型、int-Integer類型的自動裝箱和拆箱問題 收藏
Websphere6.1默認(rèn)的JSP編譯器為JDK1.3 BT?。。。。?!
所以必須手動更改為1.5,否則不能識別JDK1.5的語法
解決辦法如下:
1、找到 E:\del\WebSphere\AppServer\profiles\BBS\config\cells\0158b9e7271b4d9Node02Cell\applications\BBS2007_war.ear\deployments\BBS2007_war\BBS2007.war\WEB-INF\ibm-web-ext.xmi
在最后面的 </webappext:WebAppExtension> 前添加下面一行:
<jspAttributes xmi:id="JSPAttribute_113" name="jdkSourceLevel" value="15"/>
2、找到E:\del\WebSphere\AppServer\profiles\BBS\installedApps\0158b9e7271b4d9Node02Cell\BBS2007_war.ear\BBS2007.war\WEB-INF\ibm-web-ext.xmi
在最后面的 </webappext:WebAppExtension> 前添加下面一行:
<jspAttributes xmi:id="JSPAttribute_113" name="jdkSourceLevel" value="15"/>
然后刪除編輯產(chǎn)生的緩存文件,重新啟動服務(wù)器,一切OK
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點擊舉報。