Skip to content

build failed with error package javax.annotation does not exist #64

@camper42

Description

@camper42
Welcome to Gradle 7.4.1!

Here are the highlights of this release:
 - Aggregated test and JaCoCo reports
 - Marking additional test source directories as tests in IntelliJ
 - Support for Adoptium JDKs in Java toolchains

For more details see https://docs.gradle.org/7.4.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :clickhouse-core:compileJava
/data/home/caofengyu/spark-clickhouse-connector/clickhouse-core/build/generated/source/proto/main/grpc/xenon/protocol/grpc/ClickHouseGrpc.java:7: error: package javax.annotation does not exist
@javax.annotation.Generated(
                 ^
1 error

> Task :clickhouse-core:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':clickhouse-core:compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 12s
9 actionable tasks: 5 executed, 4 up-to-date

openjdk 11.0.13_p8

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