您好我正在使用新的Struts,Weblogic和Oracle DB升级我的Enterprise Struts Web应用程序。 Struts从2.3.32到2.5.13 Weblogic 12.1.3到12.2.1.3 Oracle 11g到Oracle到12C
我为Struts下载了相关的jar文件,并更改了Servlet 3.1版本的web.xml文件。下载了JSTL 1.2 jar并从类路径中删除了旧的jstl jar。
我删除了标准.jar,作为删除旧JSTL jar的一部分。
但是当我在本地启动weblogic时,我收到以下错误。
<Oct 19, 2017 9:20:26,113 AM EDT> <Notice> <JMX> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://172.26.186.55:7001/jndi/weblogic.management.mbeanservers.domainruntime.>
<Oct 19, 2017 9:20:26,707 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
<Oct 19, 2017 9:20:26,707 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Oct 19, 2017 9:20:26,738 AM EDT> <Notice> <Log Management> <BEA-170036> <The Logging monitoring service timer has started to check for logged message counts every 30 seconds.>
<Oct 19, 2017 9:20:57,804 AM EDT> <Warning> <HTTP> <BEA-101212> <cpsent:cpsent Failure while precompiling JSPs: weblogic.servlet.jsp.CompilationException: refferenceEdit.jsp:35:29: Static attribute must be a String literal, its illegal to specify an expression.
<c:out value="${metaData.tableName}"/>
^---^
refferenceEdit.jsp:35:29: Static attribute must be a String literal, its illegal to specify an expression.
<c:out value="${metaData.tableName}"/>
^---^
viewPA.jsp:117:26: Error in "C:\TFS\IT\CpsEnterprise\tempbuild\cpsent\jsp\include\closedPAs.jsi" at line 10: Static attribute must be a String literal, its illegal to specify an expression.
<%@ include file="/jsp/include/closedPAs.jsi" %>
^--------------------------^
viewPA.jsp:117:26: Error in "C:\TFS\IT\CpsEnterprise\tempbuild\cpsent\jsp\include\closedPAs.jsi" at line 13: Static attribute must be a String literal, its illegal to specify an expression.
<%@ include file="/jsp/include/closedPAs.jsi" %>
^--------------------------^
viewPA.jsp:117:26: Error in "C:\TFS\IT\CpsEnterprise\tempbuild\cpsent\jsp\include\closedPAs.jsi" at line 14: Static attribute must be a String literal, its illegal to specify an expression.
<%@ include file="/jsp/include/closedPAs.jsi" %>
^--------------------------^
viewPA.jsp:117:26: Error in "C:\TFS\IT\CpsEnterprise\tempbuild\cpsent\jsp\include\closedPAs.jsi" at line 16: Static attribute must be a String literal, its illegal to specify an expression.
<%@ include file="/jsp/include/closedPAs.jsi" %>
^--------------------------^
viewPA.jsp:117:26: Error in "C:\TFS\IT\CpsEnterprise\tempbuild\cpsent\jsp\include\closedPAs.jsi" at line 17: Static attribute must be a String literal, its illegal to specify an expression.
<%@ include file="/jsp/include/closedPAs.jsi" %>
^--------------------------^
viewPA.jsp:117:26: Error in "C:\TFS\IT\CpsEnterprise\tempbuild\cpsent\jsp\include\closedPAs.jsi" at line 17: Static attribute must be a String literal, its illegal to specify an expression.
<%@ include file="/jsp/include/closedPAs.jsi" %>
^--------------------------^
viewPA.jsp:117:26: Error in "C:\TFS\IT\CpsEnterprise\tempbuild\cpsent\jsp\include\closedPAs.jsi" at line 17: Static attribute must be a String literal, its illegal to specify an expression.
<%@ include file="/jsp/include/closedPAs.jsi" %>
^--------------------------^