Which GWT-Version do you use? Only GWT 1.5 (and above) supports
generics.
On 23 Aug., 11:53, rawen81 <[EMAIL PROTECTED]> wrote:
> Hi, i tried to use this:
>
> List<blogItem> = new ArrayList<blogItem>();
>
> in my application, but gwt compiler ends with this:
>
> [ERROR] Line 40: The type List is not generic; it cannot be
> parameterized with arguments <String>
> [ERROR] Line 40: GWT does not yet support the Java 5.0 language
> enhancements; only 1.4 compatible source may be used
>
> my buildpath seems ok, where is the problem then? List and ArrayList
> are imported from java.util.
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---