Gerrit ERROR

38 views
Skip to first unread message

lixiang...@gmail.com

unread,
May 5, 2015, 12:49:02 AM5/5/15
to repo-d...@googlegroups.com
Compiling module com.google.gerrit.GerritGwtUI
   Validating units:
      [ERROR] Errors in 'jar:file:/home/gphone/lixiangxiang/gerrit-test/gerrit/buck-out/gen/gerrit-gwtui/lib__ui_module__output/ui_module.jar!/com/google/gerrit/client/changes/CommitMessageBlock.java'
         [ERROR] Line 317: No source code is available for type java.net.URL; did you forget to inherit a required module?
   Finding entry point classes
      [ERROR] Errors in 'jar:file:/home/gphone/lixiangxiang/gerrit-test/gerrit/buck-out/gen/gerrit-gwtui/lib__ui_module__output/ui_module.jar!/com/google/gerrit/client/changes/CommitMessageBlock.java'
         [ERROR] Line 317: No source code is available for type java.net.URL; did you forget to inherit a required module?
      [ERROR] Unable to find type 'com.google.gerrit.client.Gerrit'
         [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

BUILD FAILED: //gerrit-gwtui:ui_dbg failed on step "genrule" with exit code 1
Compiling module com.google.gerrit.GerritGwtUI
   Validating units:
      [ERROR] Errors in 'jar:file:/home/gphone/lixiangxiang/gerrit-test/gerrit/buck-out/gen/gerrit-gwtui/lib__ui_module__output/ui_module.jar!/com/google/gerrit/client/changes/CommitMessageBlock.java'
         [ERROR] Line 317: No source code is available for type java.net.URL; did you forget to inherit a required module?
   Finding entry point classes
      [ERROR] Errors in 'jar:file:/home/gphone/lixiangxiang/gerrit-test/gerrit/buck-out/gen/gerrit-gwtui/lib__ui_module__output/ui_module.jar!/com/google/gerrit/client/changes/CommitMessageBlock.java'
         [ERROR] Line 317: No source code is available for type java.net.URL; did you forget to inherit a required module?
      [ERROR] Unable to find type 'com.google.gerrit.client.Gerrit'
         [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


     >>>>>>>>>how to impport   java.net.URL


   Thank


Edwin Kempin

unread,
May 5, 2015, 1:09:49 AM5/5/15
to lixiang...@gmail.com, Repo and Gerrit Discussion
In the client use com.google.gwt.http.client.URL instead.
 


   Thank


--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

lixiang...@gmail.com

unread,
May 5, 2015, 3:38:53 AM5/5/15
to repo-d...@googlegroups.com, lixiang...@gmail.com


在 2015年5月5日星期二 UTC+8下午1:09:49,Edwin Kempin写道:


2015-05-05 3:22 GMT+02:00 <lixiang...@gmail.com>:
Compiling module com.google.gerrit.GerritGwtUI
   Validating units:
      [ERROR] Errors in 'jar:file:/home/gphone/lixiangxiang/gerrit-test/gerrit/buck-out/gen/gerrit-gwtui/lib__ui_module__output/ui_module.jar!/com/google/gerrit/client/changes/CommitMessageBlock.java'
         [ERROR] Line 317: No source code is available for type java.net.URL; did you forget to inherit a required module?
   Finding entry point classes
      [ERROR] Errors in 'jar:file:/home/gphone/lixiangxiang/gerrit-test/gerrit/buck-out/gen/gerrit-gwtui/lib__ui_module__output/ui_module.jar!/com/google/gerrit/client/changes/CommitMessageBlock.java'
         [ERROR] Line 317: No source code is available for type java.net.URL; did you forget to inherit a required module?
      [ERROR] Unable to find type 'com.google.gerrit.client.Gerrit'
         [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

BUILD FAILED: //gerrit-gwtui:ui_dbg failed on step "genrule" with exit code 1
Compiling module com.google.gerrit.GerritGwtUI
   Validating units:
      [ERROR] Errors in 'jar:file:/home/gphone/lixiangxiang/gerrit-test/gerrit/buck-out/gen/gerrit-gwtui/lib__ui_module__output/ui_module.jar!/com/google/gerrit/client/changes/CommitMessageBlock.java'
         [ERROR] Line 317: No source code is available for type java.net.URL; did you forget to inherit a required module?
   Finding entry point classes
      [ERROR] Errors in 'jar:file:/home/gphone/lixiangxiang/gerrit-test/gerrit/buck-out/gen/gerrit-gwtui/lib__ui_module__output/ui_module.jar!/com/google/gerrit/client/changes/CommitMessageBlock.java'
         [ERROR] Line 317: No source code is available for type java.net.URL; did you forget to inherit a required module?
      [ERROR] Unable to find type 'com.google.gerrit.client.Gerrit'
         [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


     >>>>>>>>>how to impport   java.net.URL
In the client use com.google.gwt.http.client.URL instead.

  

     >>>>>>>>>>>>>>>>>   how to impport   java.net.HttpURLConnection and  java.net.URLEncoder?
Reply all
Reply to author
Forward
0 new messages