You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting below error with bazel 0.24.1 while using stackb Repository
ERROR: /home/harora37/.cache/bazel/_bazel_harora37/4614b08a42facc1b3b190dce93d1ca57/external/com_google_protobuf/BUILD:639:12: in deps attribute of java_library rule @com_google_protobuf//:protobuf_java_util: maven_jar rule '//external:error_prone_annotations' is misplaced here (expected cc_binary, cc_library, genrule, genproto, java_import, java_library, java_proto_library, java_lite_proto_library, proto_library, sh_binary or sh_library) and '//external:error_prone_annotations' does not have mandatory providers: 'CcInfo' or 'JavaInfo'
ERROR: /home/harora37/.cache/bazel/_bazel_harora37/4614b08a42facc1b3b190dce93d1ca57/external/com_google_protobuf/BUILD:632:1: in java_library rule @com_google_protobuf//:protobuf_java_util: target '//external:error_prone_annotations' is not visible from target '@com_google_protobuf//:protobuf_java_util'. Check the visibility declaration of the former target if you think the dependency is legitimate
ERROR: Analysis of target '//proto/common:keyvalue_java_proto' failed; build aborted: Analysis of target '@com_google_protobuf//:protobuf_java_util' failed; build aborted
java_grpc_library(
name = "keyvalue_java_proto",
deps = [
":keyvalue_proto",
],
)
Please help
The text was updated successfully, but these errors were encountered:
Getting below error with bazel 0.24.1 while using stackb Repository
Please help
The text was updated successfully, but these errors were encountered: