tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Souness <sou...@hotmail.com>
Subject Re: Complier not recognizing
Date Tue, 07 Nov 2006 00:04:17 GMT
Sounds more like eclipse is not set up to allow use of Java 5 (your 
examples are the new for loop and generics).

Change your "Java Compiler" settings for Compiler Compliance level for 
the project or workspace.

--
Stephen


gp wrote:
> My Eclipse is not recognixing formats like
> the for loop structure
> for (Query q : history) 
> 
> and things like
> Vector<Query> history = session.getHistory();
> (for < symbol it shows invalid assignment operator)
> 
> I am using eclipse with TomCat 5.5 and jdk1.5.0_09
> 
> I am very new to tomcat, please someone help


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


Mime
View raw message