Skip to content

A problem occurred evaluating root project 'dataflow-video-analytics'. #17

Description

@wallwriting

When I run gradle spotlessApply -DmainClass=com.google.solutions.df.video.analytics.VideoAnalyticsPipeline, it gives me an error:

FAILURE: Build failed with an exception.

  • Where:
    Build file '/home/student_00_2f9371f11e09/dataflow-video-analytics/build.gradle' line: 75

  • What went wrong:
    A problem occurred evaluating root project 'dataflow-video-analytics'.

Could not find method compile() for arguments [{group=org.apache.beam, name=beam-sdks-java-core, version=2.23.0}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

  • 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.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions