On 22 oct, 08:02, Ram kumar <[email protected]> wrote:
> I added new jar in the lib directory mvc4g-1.0.0.jar. I am using Controller
> class form that jar. When i try to compile the module, i am getting the
> below compile time error. Can any body help on this issue.
>
> Compiling module com.manning.gwtip.calculator.Calculator
>    Refreshing module from source
>       Validating newly compiled units
>          Removing units with errors
>             [ERROR] Errors in
> 'file:/D:/GWT/Calculator/src/com/manning/gwtip/calculator/client/Calculator.java'
>                [ERROR] Line 6: The import com.mvc4g cannot be resolved
>                [ERROR] Line 17: Controller cannot be resolved to a type
>                [ERROR] Line 17: Controller cannot be resolved to a type
>    Computing all possible rebind results for
> 'com.manning.gwtip.calculator.client.Calculator'
>       Rebinding com.manning.gwtip.calculator.client.Calculator
>          Checking rule <generate-with
> class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
>             [ERROR] Unable to find type
> 'com.manning.gwtip.calculator.client.Calculator'
>                [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

As the error says, you're either missing an <inherits
name="com.mvc4g.IDontKnowTheNameofTheModule" /> in your gwt.xml or the
JAR isn't in your classpath when compiling.
--~--~---------~--~----~------------~-------~--~----~
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