Skip to content

Spanner example failed to build #799

@dexterchan

Description

@dexterchan

In which file did you encounter the issue?

java-docs-samples/spanner/cloud-client

Did you change the file? If so, how?

No

Describe the issue

failed to build
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project spanner-google-cloud-samples: Compilation failure
[ERROR] /Users/dexter/Downloads/java-docs-samples/spanner/cloud-client/src/main/java/com/example/spanner/QuickstartSample.java:[21,32] cannot access com.google.cloud.spanner.DatabaseClient
[ERROR] bad class file: /Users/dexter/.m2/repository/com/google/cloud/google-cloud-spanner/0.21.1-beta/google-cloud-spanner-0.21.1-beta.jar(/com/google/cloud/spanner/DatabaseClient.class)
[ERROR] unable to access file: java.util.zip.ZipException: invalid distance too far back
[ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.

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