Skip to content

Bazel 9 build issues #78

Description

@kberezin-nshl
ERROR: /<redacted>/0a7de9f3967f044e87b7a407b44c40e5/external/openapi_tools_generator_bazel+/internal/openapi_generator.bzl:144:70: name 'JavaInfo' is not defined
ERROR: /<redacted>/0a7de9f3967f044e87b7a407b44c40e5/external/openapi_tools_generator_bazel+/internal/openapi_generator.bzl:145:70: name 'JavaInfo' is not defined

Explicit dependency on rules_java in MODULE.bazel is required and then

load("@rules_java//java/common:java_info.bzl", "JavaInfo")

needs to be added to the offending file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions