You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by gp <gp...@yahoo.com> on 2006/11/06 23:29:18 UTC
Complier not recognizing
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
--
View this message in context: http://www.nabble.com/Complier-not-recognizing-tf2585526.html#a7208709
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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
Re: Complier not recognizing
Posted by gp <gp...@yahoo.com>.
My eclipse seems to support compiler compliance levels 1.3 and 1.4 only
Seems I have downloaded an old version of eclipse
thanks a lot
Stephen Souness wrote:
>
> 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
>
>
>
--
View this message in context: http://www.nabble.com/Complier-not-recognizing-tf2585526.html#a7213265
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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
Re: Complier not recognizing
Posted by Stephen Souness <so...@hotmail.com>.
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