It looks like you either have an old version of Java installed (pre
1.5) or (more likely) your Java compiler compliance settings in
eclipse are set up to not allow 1.5+ syntax.

-Ben

On Jan 18, 5:38 am, Jamie <[email protected]> wrote:
> When creating a new web application project I get the following errors
> in the eclipse problems pane.
>
> Any help would be appreciated, I'm using Aptana Studio 2 which is
> built on Eclipse 3.5.
>
> Description     Resource        Path    Location        Type
> Syntax error, annotations are only available if source level is 1.5
> GreetingService.java    /Test GWT/src/com/skybet/testgwt/client line 9
> Java Problem
> Syntax error, annotations are only available if source level is 1.5
> GreetingServiceImpl.java        /Test GWT/src/com/skybet/testgwt/server line
> 10      Java Problem
> Syntax error, parameterized types are only available if source level
> is 1.5  GreetingServiceAsync.java       /Test GWT/src/com/skybet/testgwt/
> client  line 9  Java Problem
> Syntax error, parameterized types are only available if source level
> is 1.5  Test_GWT.java   /Test GWT/src/com/skybet/testgwt/client line 122
> Java Problem
> The type new AsyncCallback(){} must implement the inherited abstract
> method AsyncCallback.onSuccess(Object)  Test_GWT.java   /Test GWT/src/com/
> skybet/testgwt/client   line 122        Java Problem
> Type mismatch: cannot convert from Object to GreetingServiceAsync
> Test_GWT.java   /Test GWT/src/com/skybet/testgwt/client line 35 Java
> Problem
> Missing 'title' tag     link-variations.htm     /_lib/tests/generic     
> Unknown
> Web Problem
> Missing required attribute 'content'    500.html        /_lib/errors/myaccount
> line 4  Web Problem
> Missing required attribute 'type'       500.html        
> /_lib/errors/myaccount  line
> 7       Web Problem
> Missing required attribute 'type'       funcunit.html   /_lib/funcunit/0.1.2
> line 5  Web Problem
> Missing required attribute 'type'       funcunit.html   /_lib/funcunit/beta-5/
> demo    line 5  Web Problem
> Missing required attribute 'type'       myapp.html      /_lib/funcunit/beta-5/
> demo    line 10 Web Problem
> Unclosed tag 'body'     test.html       /_lib/docs/syntaxhighlighter_2.1.364
> line 30 Web Problem

-- 
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