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