WAS6.1在JDK1.5环境下JSP无法编译问题

 2023-09-16 阅读 24 评论 0

摘要:为什么80%的码农都做不了架构师?>>> 修改发布后应用程序目录中的ibm-web-ext.xmi文件,需修改两个位置: 1./IBM61/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostCell01/applications/zhyy_war.ear/ deployments/zhyy_war/z

为什么80%的码农都做不了架构师?>>>   hot3.png

修改发布后应用程序目录中的ibm-web-ext.xmi文件,需修改两个位置:

    1. /IBM61/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostCell01/applications/zhyy_war.ear/

deployments/zhyy_war/zhyy.war/WEB-INF,

    2./IBM61/WebSphere/AppServer/profiles/AppSrv01/installedApps/localhostCell01/zhyy_war.ear/

zhyy.war/WEB-INF

将<jspAttributes xmi:id="JSPAttribute_1261104677393" name="jdkSourceLevel" value="15"/>添加至以上两个文件中,注意修改

xmi:id="JSPAttribute_1261104677393"按照上两行参数值规则顺序加一。

例如:
   <?xml version="1.0" encoding="UTF-8"?>
<com.ibm.ejs.models.base.extensions.webappext:WebAppExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"xmlns:com.ibm.ejs.models.base.extensions.webappext="webappext.xmi" xmi:id="WebAppExtension_1261104677390">
  <webApp href="WEB-INF/web.xml#WebApp_1261104677390"/>

  <jspAttributes xmi:id="JSPAttribute_1261104677391" name="reloadEnabled" value="true"/>

  <jspAttributes xmi:id="JSPAttribute_1261104677392" name="reloadInterval" value="10"/>

  <jspAttributes xmi:id="JSPAttribute_1261104677393" name="jdkSourceLevel" value="15"/>

</com.ibm.ejs.models.base.extensions.webappext:WebAppExtension>

修改完毕后清理临时文件,重启应用。

转载于:https://my.oschina.net/psuyun/blog/410560

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/1/70328.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息