我正在部署我的JAVA EE耳朵应用程序。像在WL服务器中一样, 但突然之间似乎每次WL都在尝试再次编译所有JSP并且部署需要很长时间
12.1.2.0.0.>
ST> <Info> <HTTP> <BEA-101343> <my_devices: Attempting to precompile /WEB-INF/jsp/template/header.jsp, since the class file associated with it was found to be out-of-date.>
ST> <Info> <HTTP> <BEA-101295> <Recompiling JSP [ServletContext@29540787[app:my_devices module:my_devices path:null spec-version:3.0]], resource [/WEB-INF/jsp/template/popupHeader.jsp], because it is stale. It was previously compiled using a different version of WebLogic Server.
12.1.2.0.0.>
答案 0 :(得分:0)
预编译是一件好事!!
但是如果要禁用它以加快部署速度,请更改weblogic.xml文件并包含以下内容:
<jsp-descriptor>
<jsp-param>
<param-name>precompile</param-name>
<param-value>false</param-value>
</jsp-param>
</jsp-descriptor>
这对你有帮助!