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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to