GWT compilation error...

I have got a simplest GWT - Hello World like program but when I try to compile the java file - below is the error I am running into. I am using the Sphene slider widget from http://gwtwidgets.sphene.net/wiki/show/GWTWidgets

The code is also red at
Slider slider = new Slider();

I can go to the constructor of Slider and it also finds it which jar has it etc. but still it fails to compile.

Information:Compilation completed with 6 errors and 0 warnings

Information:6 errors

Information:0 warnings

C:\aaa-work\gwt-code\src\simpleXML\client\SimpleXML.java

Error:Error:line (7)The import net cannot be resolved

Error:Error:line (38)Slider cannot be resolved to a type

C:\aaa-work\gwt-code\src\simpleXML\SimpleXML.gwt.xml

Error:Error:Unable to find type 'simpleXML.client.SimpleXML'

Error:Error:Hint: Previous compiler errors may have made this type unavailable

Error:Error:Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

Error:Error:Build failed

2 comments
Comment actions Permalink

Hello Vinay,

What error message is shown for "Slider"?

I have got a simplest GWT - Hello World like program but when I try to
compile the java file - below is the error I am running into. I am
using the Sphene slider widget from
http://gwtwidgets.sphene.net/wiki/show/GWTWidgets

The code is also red at Slider slider = new Slider();

I can go to the constructor of Slider and it also finds it which jar
has it etc. but still it fails to compile.

Information:Compilation completed with 6 errors and 0 warnings

Information:6 errors

Information:0 warnings

C:\aaa-work\gwt-code\src\simpleXML\client\SimpleXML.java

Error:Error:line (7)The import net cannot be resolved

Error:Error:line (38)Slider cannot be resolved to a type

C:\aaa-work\gwt-code\src\simpleXML\SimpleXML.gwt.xml

Error:Error:Unable to find type 'simpleXML.client.SimpleXML'

Error:Error:Hint: Previous compiler errors may have made this type
unavailable

Error:Error:Hint: Check the inheritance chain from your module; it
may not be inheriting a required module or a module may not be adding
its source path entries properly

Error:Error:Build failed



0
Comment actions Permalink

problem solved - something to do with inhering a module - the light bulb went on - literally - clicked alt+enter and intellij did the magic.

thanks

0

Please sign in to leave a comment.