tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <grm7...@verizon.net>
Subject Re: JSP compilation error in Tomcat 5.5 using type Vector
Date Mon, 20 Feb 2006 17:47:42 GMT
Thibaut Nicolas wrote:

>>> org.apache.jasper.JasperException: Unable to compile class for JSP
>>>
>>> An error occurred at line: 4 in the jsp file: /jsp/Test.jsp Generated 
>>> servlet error:
>>> The method add(String) is undefined for the type Vector
>>>
>>> An error occurred at line: 4 in the jsp file: /jsp/Test.jsp Generated 
>>> servlet error:
>>> The method add(String) is undefined for the type Vector
>>>
>>> An error occurred at line: 11 in the jsp file: /jsp/Test.jsp 
>>> Generated servlet error:
>>> The method iterator() is undefined for the type Vector


>>>
>>> I've found a workaround that consist in using javac compiler instead 
>>> of JDT compiler but I'd prefer using JDT compiler.
>>>
>>> Can someone help me and tell me what I'm doing wrong ?
>>>

http://tinyurl.com/n9k75?  For the Vector object you're using, it is 
possible that the JDT compiler is not 1.5-compliant; so you may need to 
use javac instead, or consider using other data structures to accomplish 
what you want.

Glen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message