【发布时间】:2016-10-20 21:42:52
【问题描述】:
首先,我正在将现有的“工作”Java 应用程序迁移到更新版本的 Java。我们让它与 Java 1.8.0_60 和 Tomcat 6 的 Red Hat (REHL 6) 一起使用。现在,我们正在尝试将其移至 Tomcat 7(错误来自 Tomcat 7.5.4)。
似乎 Tomcat 在工作目录中创建 JAVA 和 CLASS 文件时出错。 [/usr/share/tomcat7/work/Catalina/localhost/CortWebApps-NACustomer/org/apache/jsp/WEB_002dINF/jsp/nacTemplate_jsp.java
这是文件:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<% String content = request.getParameter("content"); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xml:lang="en">
<jsp:include flush="true" page="./includes/nacHead.jsp"/>
<body>
<a name=top></a>
<table id=twoColMain height=100% width=990 border=0 cellpadding=0 cellspacing=0 align=center>
<jsp:include flush="true" page="./includes/nacHeader.jsp"/>
<tr>
<jsp:include flush="true" page="./includes/nacSideNav.jsp"/>
<jsp:include flush="true" page="<%=content %>"/>
</tr>
<tr>
<td colspan=3 class=footerBar><a href=#top>Back to Top</a></td>
</tr>
<tr>
<td colspan=3 align=left class=footerCopy>Copyright © 2007 CORT® All images and copy. All rights reserved.</td>
</tr>
</table>
</body>
</html>
【问题讨论】: