That's it !
I had a library containing java 1.1 classes in my classpath.
It seems that JDT uses the classes that are in the classpath instead of
those that are in the JRE. This behaviour is a bit different of Sun
compiler.
Thanks for your help
Thibaut
Thibaut Nicolas a écrit :
I
hat way and let you know
Thanks for this idea
Thibaut
Caldarale, Charles R a écrit :
From: Thibaut Nicolas [mailto:[EMAIL PROTECTED]
Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector
Here is the very simple JSP that have written to isolate the error
This probably won
;);
v.add("World");
%>
<%
Iterator it = v.iterator();
while (it.hasNext()) {
%>
<%=it.next() %>
<%
}
%>
Thibaut
Michael Andreas Omerou a écrit :
Can we have the code that causes this error?
-Original Message-
From: Thibaut Nicolas
Hi all,
I have a problem while trying to migrate an application from Tomcat 4.1
to Tomcat 5.5.
I get a JasperException when tomcat try to compile a JSP :
The method add(String) is undefined for the type Vector
The method iterator() is undefined for the type Vector
I've put the complete trace at