Check your imports

"The import java.awt cannot be resolved "

remove it.


On 4 Nov., 12:26, sonu <[email protected]> wrote:
> hello all,
>
> i am working on gwt with smartgwt. but m getting compilation
> error..dont understand y m getting this error..
>
> Compiling module com.smart.newproj.mypack.Com_smart_newproj_Myproj
>    Refreshing module from source
>       Validating newly compiled units
>          Removing units with errors
>             [ERROR] Errors in 'file:/D:/workspace/
> com.smart.newproj.Myproj/src/com/smart/newproj/mypack/client/
> Com_smart_newproj_Myproj.java'
>                [ERROR] Line 4: The import java.awt cannot be resolved
>                [ERROR] Line 149: Color cannot be resolved to a type
>                [ERROR] Line 152: Color cannot be resolved to a type
>                [ERROR] Line 158: Color cannot be resolved to a type
>                [ERROR] Line 166: Color cannot be resolved to a type
>          Removing invalidated units
>             [WARN] Compilation unit 'file:/D:/workspace/
> com.smart.newproj.Myproj/src/com/smart/newproj/mypack/client/
> LoginForm.java' is removed due to invalid reference(s):
>                [WARN] file:/D:/workspace/com.smart.newproj.Myproj/src/
> com/smart/newproj/mypack/client/Com_smart_newproj_Myproj.java
>             [WARN] Compilation unit 'file:/D:/workspace/
> com.smart.newproj.Myproj/src/com/smart/newproj/mypack/client/
> AfterLogIn.java' is removed due to invalid reference(s):
>                [WARN] file:/D:/workspace/com.smart.newproj.Myproj/src/
> com/smart/newproj/mypack/client/Com_smart_newproj_Myproj.java
>             [WARN] Compilation unit 'file:/D:/workspace/
> com.smart.newproj.Myproj/src/com/smart/newproj/mypack/client/
> RegForm.java' is removed due to invalid reference(s):
>                [WARN] file:/D:/workspace/com.smart.newproj.Myproj/src/
> com/smart/newproj/mypack/client/Com_smart_newproj_Myproj.java
>    Computing all possible rebind results for
> 'com.smart.newproj.mypack.client.Com_smart_newproj_Myproj'
>       Rebinding
> com.smart.newproj.mypack.client.Com_smart_newproj_Myproj
>          Checking rule <generate-with
> class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
>             [ERROR] Unable to find type
> 'com.smart.newproj.mypack.client.Com_smart_newproj_Myproj'
>                [ERROR] Hint: Previous compiler errors may have made
> this type unavailable
>                [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
>
> ...plz help me
--~--~---------~--~----~------------~-------~--~----~
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