I am using GWT 2.5.0. I want to use some methods in org.apache.commons. GWT want source code also for adding external jar. So I downloaded source and class files and merge both in jar. It is not giving any error for some methods but some classes of org.apache refering other class outside this package. So it gives the following error
[ERROR] [rmchecking] - Errors in 'org/apache/commons/lang/StringUtils.java'
[ERROR] [rmchecking] - Line 237: The method isWhitespace(char) is undefined for the type Character
Is there any package in gwt that giving same facility of this org.apache.commons? or how to use this same package in gwt?
You cannot use any third party jar that is not GWT compatible. Example apache-commons.
HINT - They do not have .gwt.xml file telling GWT compiler that they have GWT compatible code.
You can however fork it and make it your own gwt compatible lib from the apache common. Example - http://code.google.com/p/gwt-commons-lang/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With