I'm having the same exact problem.  I've tried it on both Mac OSX and
Windows.

On Apr 13, 6:46 pm, Adrian <[email protected]> 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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to