take a look here

http://h3x.no/2011/02/22/debugging-gwt-did-you-forget-to-inherit-a-required-module



Τη Παρασκευή, 23 Ιουλίου 2010 2:23:43 π.μ. UTC+3, ο χρήστης Arar έγραψε:
>
> Hi, 
>
> I am trying to search between two Strings using the 
> StringUtils.substringBetween() in my project. I have imported 
> org.apache.commons.lang.StringUtils;  in my Entry Point java file . I 
> have included common-lang.jar in my lib directory and in my project 
> path. I have also modifed my gwt.xml 
>  <inherits name="com.googlecode.gwt.commons.long.Long/>. I dont know 
> if this is right or wrong. 
>
> The Java Compilation goes through without any Errors . but if i do a 
> GWT compile i get the following error 
>
> [ERROR] Line 190: No source code is available for type 
> org.apache.commons.lang.StringUtils; did you forget to inherit a 
> required module? 
> lib/gwtx-1.5.2.jar!/com/googlecode/gwtx/java/util/emul/java/util/regex/ 
> Pattern.java' 
>          [WARN] Line 140: Referencing class 
> 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable 
> to resolve class, expect subsequent failures 
>          [WARN] Line 149: Referencing class 
> 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable 
> to resolve class, expect subsequent failures 
>          [WARN] Line 183: Referencing class 
> 'com.googlecode.gwtx.java.util.emul.java.util.regex.Pattern': unable 
> to resolve class, expect subsequent failures 
>
>
> I want to know if its possible to includes 
> "org.apache.commons.lang.StringUtils" in GWT  and how can i do the 
> inherits in my GWT.XML file or i am digging in the wrong way. 
>
> Please HELP. 
> Any help would be appreciated. Thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to