Fixing Errors In a GWT Project

[page_prevnext prev=’create-your-first-gwt-project/’ next=’../gwt-rpc-framework/compiling-the-first-gwt-application/’]

o I had 5 errors on the projects creation
o I clicked the first one
o I pointed the mouse on the [@RemoteServiceRelativePath]
annotation
o Hold the mouse for 2 seconds, this messasge said:
[Change project compliance and JRE to 1.5]
o Click [Change project compliance and JRE to 1.5] for a
quick fix

o But, to be more exact on fixing this error,
Right-click the sample project and select:–> Properties
o Select:–> Java Compiler
o Unselect the:–> Use compliance from execution environment…
o For the Compiler compliace level, select in the drop
down:–> 1.7
On my PC, I have Java 1.7 and the latest Java installed.
If you
don’t have Java 1.7, Java 1.5 may do.
o Clicxx Yes
o Click Ok to continue
o Four out of five or the errors are gone

o Next, let us “Create Your First GWT Application”

o There is one more error:
Java compiler level does not match the version of the
installed Java project facet.
o Right-click the sample project and select:–> Properties
o Select [Project Facets],
o Select drop down at Java to–> 1.7
o Click Apply
o Click Ok
o All Errors should be cleared

o Next, let us “Compiling The First GWT Application”

[page_prevnext prev=’create-your-first-gwt-project/’ next=’../gwt-rpc-framework/compiling-the-first-gwt-application/’]