簡體   English   中英

當我在Eclipse中創建Web應用程序項目以使用Provisioning API創建用戶帳戶時,出現以下錯誤

[英]When i am creating Web Application project in Eclipse for creating user account using Provisioning API i am getting the following errors

[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?

您使用了GWT客戶端不支持的類。 您應該將它們移到服務器端(例如GWT RPC servlet),並使用異步回調從客戶端代碼中調用它們。 此處列出了可以在GWT客戶端使用的類: http : //code.google.com/intl/pl-PL/webtoolkit/doc/2.2/RefJreEmulation.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM