[DEBUG] [createuser] - Validating newly compiled units
[ERROR] [createuser] - Errors in 'file:/D:/Neha_workspace/CreateUser/src/com/shared/AppsForYourDomainClient.java'
[ERROR] [createuser] - Line 324: No source code is available for type java.net.URL; did you forget to inherit a required module?
[ERROR] [createuser] - Line 1059: The method exit(int) is undefined for the type System
[ERROR] [createuser] - Errors in 'file:/D:/Neha_workspace/CreateUser/src/com/shared/api/gbase/client/AttributeHistogram.java'
[ERROR] [createuser] - Line 340: No source code is available for type org.xml.sax.Attributes; did you forget to inherit a required module?
[ERROR] [createuser] - Errors in 'file:/D:/Neha_workspace/CreateUser/src/com/shared/api/gbase/client/ConversionUtil.java'
[ERROR] [createuser] - Line 239: No source code is available for type com.google.common.collect.Multimap<K,V>; did you forget to inherit a required module?
[ERROR] [createuser] - Errors in 'file:/D:/Neha_workspace/CreateUser/src/com/shared/api/gbase/client/FeedURLFactory.java'
[ERROR] [createuser] - Line 35: No source code is available for type java.net.URL; did you forget to inherit a required module?
[ERROR] [createuser] - Line 75: No source code is available for type java.net.MalformedURLException; did you forget to inherit a required module?
[ERROR] [createuser] - Line 117: No source code is available for type java.net.URLEncoder; did you forget to inherit a required module?
[ERROR] [createuser] - Errors in 'file:/D:/Neha_workspace/CreateUser/src/com/shared/api/gbase/client/GmAttributes.java'
[ERROR] [createuser] - Line 142: No source code is available for type org.xml.sax.Attributes; did you forget to inherit a required module?
[ERROR] [createuser] - Errors in 'file:/D:/Neha_workspace/CreateUser/src/com/shared/api/gbase/client/GmDisapproved.java'
[ERROR] [createuser] - Line 59: No source code is available for type org.xml.sax.Attributes; did you forget to inherit a required module?
[ERROR] [createuser] - Errors in 'file:/D:/Neha_workspace/CreateUser/src/com/shared/api/gbase/client/GmPublishingPriority.java'
[ERROR] [createuser] - Line 122: No source code is available for type org.xml.sax.Attributes; did you forget to inherit a required module?
答案 0 :(得分:1)
您使用过GWT客户端不支持的类。您应该将它们移动到服务器端(例如GWT RPC servlet),并使用异步回调从客户端代码中调用它们。 此处列出了可在GWT客户端使用的类:http://code.google.com/intl/pl-PL/webtoolkit/doc/2.2/RefJreEmulation.html。