Hi all,

it's been while since this error has been reported, but as i experienced it 
is still not fixed.

I searched for hours before i came across this workaround, which works for 
me.

http://code.google.com/p/google-web-toolkit/issues/detail?id=3557#c43

Good luck!

On Tuesday, April 14, 2009 12:46:23 AM UTC+2, Adrian wrote:
>
> Hi Everyone, 
>
>
> I'm sure that this will be something stupid that I'm missing but I've 
> found I cannot get JSP's to compile in hosted mode if they include any 
> Java 1.5+ stuff, like generics or for each loops. 
>
> For example I'm using the latest Eclipse with the new GWT plugin, if I 
> create a new GWT project then add a jsp that has code using generics I 
> get this error when I load the jsp: 
>
> 2. ERROR in /tmp/Jetty_0_0_0_0_8080_war____ut4fm1/jsp/org/apache/jsp/ 
> test_jsp.java (at line 53) 
>         new java.util.ArrayList<String>(); 
>                                 ^^^^^^ 
> Syntax error, parameterized types are only available if source level 
> is 1.5 
>
>
> You can see the entire output at: http://pastebin.com/m7f0cd05a 
>
>
> I can't seem to find anyone else having this problem so any advice 
> would be great. 
>
>
> Thanks, 
> Adrian 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to