Put the sources in your classpath when compiling.

On Mon, May 25, 2009 at 11:09 AM, poonam <[email protected]> wrote:
>
> hello,
>
> I have developed a validation.jar and used it in my project.
> I have created the objects of the classes in the jar in my application
> and also imported them.
> But when I compile the prog I get the error and the build fails.
> I get the error as :
>
> D:\NIMS_Gadgets\TheProject>MyApplication-compile
> Analyzing source in module 'com.company.MyApplication'
>   [ERROR] Errors in 'D:\NIMS_Gadgets\TheProject\WEB-INF\src\com
> \company\client\MyApplication.java'
>      [ERROR] Line 73:  The import com.company.validation cannot be
> resolved
>      [ERROR] Line 114:  RequiredField cannot be resolved to a type
>      [ERROR] Line 114:  RequiredField cannot be resolved to a type
>      [ERROR] Line 115:  NumericField cannot be resolved to a type
>      [ERROR] Line 115:  NumericField cannot be resolved to a type
>      [ERROR] Line 118:  ValidationCollector cannot be resolved to a
> type
>      [ERROR] Line 118:  ValidationCollector cannot be resolved to a
> type
>      [ERROR] Line 183:  ValidatorUtil cannot be resolved
> Finding entry point classes
>   [ERROR] Unable to find type 'com.company.client.MyApplication'
>      [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
> [ERROR] Build failed
>
> How can I solve this?
>
> Thanks.
>
> >
>

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

  • error poonam
    • Re: error David

Reply via email to