[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Tomcat 4.x won't work with JDK 1.4
|
I am using the Sysdeo Tomcat plug-in (v2.1) for Eclipse (v2.1), and I have
the following problems:
1) Tomcat 4.0.6:
a) Works okay if I use JDK 1.3.1
b) Doesn't work with JDK 1.4.1: After using JDK 1.3.1, if I remove all
compiled JSPs from the work/org/apache/jsp folder prior to starting Tomcat,
I get the following exception:
<<<
org.apache.jasper.JasperException: Unable to compile class for JSPerror:
Invalid class file format in
D:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor
version '48.0' is too recent for this tool to understand.
D:\DevJ\vp_web_Eclipse\web\work\org\apache\jsp\login$jsp.java:0: Class
java.lang.Object not found in class javax.servlet.GenericServlet.
package org.apache.jsp;
^
2 errors
>>>
NOTE: No Sysdeo patch is available for Tomcat 4.0.6, so I installed none.
2) Tomcat 4.1.24: I installed the Tomcat 4.1.24 Sysdeo patch to
<TOMCAT_HOME>/common/classes. Again I remove all previously compiled JSPs
from the work directory, and now...
a) JDK 1.3.1: Tomcat starts without errors, but as far as I can tell, my
application is not deployed, and I cannot access my main page.
b) JDK 1.4.1: Ditto.
I have re-checked my setup countless times, and everything matches the
"working" case (Tomcat 4.0.6) except I am now pointing to the Tomcat 4.1.24
directory under Window-Preferences-Tomcat and have selected the 4.1.x
checkbox.
From what I have seen on Google, others have gotten this to work. Perhaps my
situation is different because my Web application uses struts? Any help will
greatly appreciated.
--
Eduardo Suastegui
"Test everything; Hold on to the good."
(Remove 701 when replying via e-mail)