apache / beam

Apache Beam is a unified programming model for Batch and Streaming data processing.
https://beam.apache.org/
Apache License 2.0
7.9k stars 4.27k forks source link

Beam with intellij: "Could not find implementation class 'org.apache.beam.gradle.BeamModulePlugin' for plugin 'org.apache.beam.module'" #21582

Open damccorm opened 2 years ago

damccorm commented 2 years ago

I tried to build Beam project on my local machine using Intellij Idea, and got the error

 

Build file '/Users/chenxi/Documents/beam-master/build.gradle.kts' line: 19

An exception occurred applying plugin request [id: 'org.apache.beam.module'] > Could not find implementation class 'org.apache.beam.gradle.BeamModulePlugin' for plugin 'org.apache.beam.module' specified in jar:file:/Users/chenxi/.gradle/caches/jars-9/0235e1d1b54016ccffc2c13b0bfd20a0/buildSrc.jar!/META-INF/gradle-plugins/org.apache.beam.module.properties.

Imported from Jira BEAM-14472. Original Jira may contain additional context. Reported by: kuye.

damccorm commented 2 years ago

I'm unable to reproduce this, and its not happening anywhere in CI - is the original author available to provide some more context?

damccorm commented 2 years ago

Specifically:

1) Is this still happening? 2) What OS are you running into these issues on? 3) What gradle task are you running?

lvchaoxu commented 2 years ago

@damccorm I encountered this problem, too. My OS version is Windows 10 21H2 Java version is graalvm-ce-11 gradle version is 6.5 (7.5 not work too) building in IDEA 2021 3.4 The error follows The client will now receive all logging from the daemon (pid: 14360). The daemon log file: F:\Develop\gradle_repo\daemon\6.5\daemon-14360.out.log

Starting 2nd build in daemon [uptime: 12 mins 41.013 secs, performance: 100%]

Closing daemon's stdin at end of input.

The daemon will no longer process any standard input.

Using 8 worker leases.

Starting Build

Settings evaluated using settings file 'D:\IDEA_project\beam-master\beam-master\settings.gradle.kts'.

Using local directory build cache for the root build (location = F:\Develop\gradle_repo\caches\build-cache-1, removeUnusedEntriesAfter = 7 days).

Configure project :buildSrc

Evaluating project ':buildSrc' using build file 'D:\IDEA_project\beam-master\beam-master\buildSrc\build.gradle.kts'.

Repository https://plugins.gradle.org/m2/ replaced by https://maven.aliyun.com/repository/gradle-plugin/.

Selected primary task 'build' from project :

:buildSrc:compileJava (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:compileJava NO-SOURCE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\main\java', not found

Skipping task ':buildSrc:compileJava' as it has no source files and no previous output files.

:buildSrc:compileJava (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.005 secs.

:buildSrc:compileGroovy (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:compileGroovy NO-SOURCE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\main\groovy', not found

Skipping task ':buildSrc:compileGroovy' as it has no source files and no previous output files.

:buildSrc:compileGroovy (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.001 secs.

:buildSrc:pluginDescriptors (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:pluginDescriptors UP-TO-DATE

Caching disabled for task ':buildSrc:pluginDescriptors' because:

Caching has not been enabled for the task

Skipping task ':buildSrc:pluginDescriptors' as it is up-to-date.

:buildSrc:pluginDescriptors (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.015 secs.

:buildSrc:processResources (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:processResources UP-TO-DATE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\main\resources', not found

Could not read file path 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\main\resources'.

Caching disabled for task ':buildSrc:processResources' because:

Caching has not been enabled for the task

Skipping task ':buildSrc:processResources' as it is up-to-date.

:buildSrc:processResources (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.004 secs.

:buildSrc:classes (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:classes UP-TO-DATE

Skipping task ':buildSrc:classes' as it has no actions.

:buildSrc:classes (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.0 secs.

:buildSrc:jar (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:jar UP-TO-DATE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\build\classes\java\main', not found

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\build\classes\groovy\main', not found

Caching disabled for task ':buildSrc:jar' because:

Caching has not been enabled for the task

Skipping task ':buildSrc:jar' as it is up-to-date.

:buildSrc:jar (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.005 secs.

:buildSrc:assemble (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:assemble UP-TO-DATE

Skipping task ':buildSrc:assemble' as it has no actions.

:buildSrc:assemble (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.0 secs.

:buildSrc:spotlessGroovy (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:spotlessGroovy UP-TO-DATE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\main\groovy', not found

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\test\groovy', not found

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\main\groovy', not found

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\test\groovy', not found

Build cache key for task ':buildSrc:spotlessGroovy' is cb710309d7e3c3fa25e8446efe4ce391

Skipping task ':buildSrc:spotlessGroovy' as it is up-to-date.

:buildSrc:spotlessGroovy (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 1.257 secs.

:buildSrc:spotlessGroovyCheck (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:spotlessGroovyCheck UP-TO-DATE

Caching disabled for task ':buildSrc:spotlessGroovyCheck' because:

Caching has not been enabled for the task

Task ':buildSrc:spotlessGroovyCheck' is not up-to-date because:

Task has not declared any outputs despite executing actions.

:buildSrc:spotlessGroovyCheck (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.002 secs.

:buildSrc:spotlessGroovyGradle (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:spotlessGroovyGradle UP-TO-DATE

Build cache key for task ':buildSrc:spotlessGroovyGradle' is 9361cfba1c13a5f02ae7a5fb9b1d7e67

Skipping task ':buildSrc:spotlessGroovyGradle' as it is up-to-date.

:buildSrc:spotlessGroovyGradle (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.015 secs.

:buildSrc:spotlessGroovyGradleCheck (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:spotlessGroovyGradleCheck UP-TO-DATE

Caching disabled for task ':buildSrc:spotlessGroovyGradleCheck' because:

Caching has not been enabled for the task

Task ':buildSrc:spotlessGroovyGradleCheck' is not up-to-date because:

Task has not declared any outputs despite executing actions.

:buildSrc:spotlessGroovyGradleCheck (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.001 secs.

:buildSrc:spotlessCheck (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:spotlessCheck UP-TO-DATE

Skipping task ':buildSrc:spotlessCheck' as it has no actions.

:buildSrc:spotlessCheck (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.0 secs.

:buildSrc:pluginUnderTestMetadata (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE

Caching disabled for task ':buildSrc:pluginUnderTestMetadata' because:

Caching has not been enabled for the task

Skipping task ':buildSrc:pluginUnderTestMetadata' as it is up-to-date.

:buildSrc:pluginUnderTestMetadata (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 2.033 secs.

:buildSrc:compileTestJava (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:compileTestJava NO-SOURCE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\test\java', not found

Skipping task ':buildSrc:compileTestJava' as it has no source files and no previous output files.

:buildSrc:compileTestJava (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.002 secs.

:buildSrc:compileTestGroovy (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:compileTestGroovy NO-SOURCE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\test\groovy', not found

Skipping task ':buildSrc:compileTestGroovy' as it has no source files and no previous output files.

:buildSrc:compileTestGroovy (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.005 secs.

:buildSrc:processTestResources (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:processTestResources NO-SOURCE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\src\test\resources', not found

Skipping task ':buildSrc:processTestResources' as it has no source files and no previous output files.

:buildSrc:processTestResources (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.001 secs.

:buildSrc:testClasses (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:testClasses UP-TO-DATE

Skipping task ':buildSrc:testClasses' as it has no actions.

:buildSrc:testClasses (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.0 secs.

:buildSrc:test (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:test NO-SOURCE

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\build\classes\java\test', not found

file or directory 'D:\IDEA_project\beam-master\beam-master\buildSrc\build\classes\groovy\test', not found

Skipping task ':buildSrc:test' as it has no source files and no previous output files.

:buildSrc:test (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.002 secs.

:buildSrc:validatePlugins (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:validatePlugins UP-TO-DATE

Build cache key for task ':buildSrc:validatePlugins' is 5a57c518bafdb7552ff19918ce366566

Skipping task ':buildSrc:validatePlugins' as it is up-to-date.

:buildSrc:validatePlugins (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.01 secs.

:buildSrc:check (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:check UP-TO-DATE

Skipping task ':buildSrc:check' as it has no actions.

:buildSrc:check (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.0 secs.

:buildSrc:build (Thread[Execution worker for ':buildSrc',5,main]) started.

Task :buildSrc:build UP-TO-DATE

Skipping task ':buildSrc:build' as it has no actions.

:buildSrc:build (Thread[Execution worker for ':buildSrc',5,main]) completed. Took 0.0 secs.

Projects loaded. Root project using build file 'D:\IDEA_project\beam-master\beam-master\build.gradle.kts'.

Included projects: [root project 'beam', project ':beam-test-infra-metrics', project ':beam-test-jenkins', project ':beam-test-tools', project ':beam-validate-runner', project ':examples', project ':model', project ':playground', project ':release', project ':runners', project ':sdks', project ':vendor', project ':website', project ':examples:java', project ':examples:kotlin', project ':examples:multi-language', project ':model:fn-execution', project ':model:job-management', project ':model:pipeline', project ':playground:backend', project ':playground:frontend', project ':playground:terraform', project ':release:go-licenses', project ':runners:core-construction-java', project ':runners:core-java', project ':runners:direct-java', project ':runners:extensions-java', project ':runners:flink', project ':runners:google-cloud-dataflow-java', project ':runners:java-fn-execution', project ':runners:java-job-service', project ':runners:jet', project ':runners:local-java', project ':runners:portability', project ':runners:samza', project ':runners:spark', project ':runners:twister2', project ':sdks:go', project ':sdks:java', project ':sdks:python', project ':vendor:bytebuddy-1_12_8', project ':vendor:calcite-1_28_0', project ':vendor:grpc-1_43_2', project ':vendor:guava-26_0-jre', project ':examples:java:twitter', project ':playground:backend:containers', project ':release:go-licenses:go', project ':release:go-licenses:java', project ':release:go-licenses:py', project ':runners:extensions-java:metrics', project ':runners:flink:1.12', project ':runners:flink:1.13', project ':runners:flink:1.14', project ':runners:flink:1.15', project ':runners:google-cloud-dataflow-java:examples', project ':runners:google-cloud-dataflow-java:examples-streaming', project ':runners:google-cloud-dataflow-java:worker', project ':runners:portability:java', project ':runners:samza:job-server', project ':runners:spark:2', project ':runners:spark:3', project ':sdks:go:container', project ':sdks:go:examples', project ':sdks:go:test', project ':sdks:java:bom', project ':sdks:java:build-tools', project ':sdks:java:container', project ':sdks:java:core', project ':sdks:java:expansion-service', project ':sdks:java:extensions', project ':sdks:java:fn-execution', project ':sdks:java:harness', project ':sdks:java:io', project ':sdks:java:javadoc', project ':sdks:java:maven-archetypes', project ':sdks:java:testing', project ':sdks:python:apache_beam', project ':sdks:python:container', project ':sdks:python:test-suites', project ':playground:backend:containers:go', project ':playground:backend:containers:java', project ':playground:backend:containers:python', project ':playground:backend:containers:router', project ':playground:backend:containers:scio', project ':runners:flink:1.12:job-server', project ':runners:flink:1.12:job-server-container', project ':runners:flink:1.13:job-server', project ':runners:flink:1.13:job-server-container', project ':runners:flink:1.14:job-server', project ':runners:flink:1.14:job-server-container', project ':runners:flink:1.15:job-server', project ':runners:flink:1.15:job-server-container', project ':runners:google-cloud-dataflow-java:worker:legacy-worker', project ':runners:google-cloud-dataflow-java:worker:windmill', project ':runners:spark:2:job-server', project ':runners:spark:3:job-server', project ':sdks:go:test:load', project ':sdks:java:bom:gcp', project ':sdks:java:container:java11', project ':sdks:java:container:java17', project ':sdks:java:container:java8', project ':sdks:java:core:jmh', project ':sdks:java:expansion-service:app', project ':sdks:java:extensions:arrow', project ':sdks:java:extensions:euphoria', project ':sdks:java:extensions:google-cloud-platform-core', project ':sdks:java:extensions:jackson', project ':sdks:java:extensions:join-library', project ':sdks:java:extensions:kryo', project ':sdks:java:extensions:ml', project ':sdks:java:extensions:protobuf', project ':sdks:java:extensions:python', project ':sdks:java:extensions:sbe', project ':sdks:java:extensions:schemaio-expansion-service', project ':sdks:java:extensions:sketching', project ':sdks:java:extensions:sorter', project ':sdks:java:extensions:sql', project ':sdks:java:extensions:timeseries', project ':sdks:java:extensions:zetasketch', project ':sdks:java:harness:jmh', project ':sdks:java:io:amazon-web-services', project ':sdks:java:io:amazon-web-services2', project ':sdks:java:io:amqp', project ':sdks:java:io:azure', project ':sdks:java:io:bigquery-io-perf-tests', project ':sdks:java:io:cassandra', project ':sdks:java:io:cdap', project ':sdks:java:io:clickhouse', project ':sdks:java:io:common', project ':sdks:java:io:contextualtextio', project ':sdks:java:io:debezium', project ':sdks:java:io:elasticsearch', project ':sdks:java:io:elasticsearch-tests', project ':sdks:java:io:expansion-service', project ':sdks:java:io:file-based-io-tests', project ':sdks:java:io:google-cloud-platform', project ':sdks:java:io:hadoop-common', project ':sdks:java:io:hadoop-file-system', project ':sdks:java:io:hadoop-format', project ':sdks:java:io:hbase', project ':sdks:java:io:hcatalog', project ':sdks:java:io:influxdb', project ':sdks:java:io:jdbc', project ':sdks:java:io:jms', project ':sdks:java:io:kafka', project ':sdks:java:io:kinesis', project ':sdks:java:io:kudu', project ':sdks:java:io:mongodb', project ':sdks:java:io:mqtt', project ':sdks:java:io:neo4j', project ':sdks:java:io:parquet', project ':sdks:java:io:pulsar', project ':sdks:java:io:rabbitmq', project ':sdks:java:io:redis', project ':sdks:java:io:snowflake', project ':sdks:java:io:solr', project ':sdks:java:io:sparkreceiver', project ':sdks:java:io:splunk', project ':sdks:java:io:synthetic', project ':sdks:java:io:thrift', project ':sdks:java:io:tika', project ':sdks:java:io:xml', project ':sdks:java:maven-archetypes:examples', project ':sdks:java:maven-archetypes:gcp-bom-examples', project ':sdks:java:maven-archetypes:starter', project ':sdks:java:testing:expansion-service', project ':sdks:java:testing:jpms-tests', project ':sdks:java:testing:kafka-service', project ':sdks:java:testing:load-tests', project ':sdks:java:testing:nexmark', project ':sdks:java:testing:test-utils', project ':sdks:java:testing:tpcds', project ':sdks:java:testing:watermarks', project ':sdks:python:apache_beam:testing', project ':sdks:python:container:py37', project ':sdks:python:container:py38', project ':sdks:python:container:py39', project ':sdks:python:test-suites:dataflow', project ':sdks:python:test-suites:direct', project ':sdks:python:test-suites:portable', project ':sdks:python:test-suites:tox', project ':runners:spark:2:job-server:container', project ':runners:spark:3:job-server:container', project ':sdks:java:extensions:sql:datacatalog', project ':sdks:java:extensions:sql:expansion-service', project ':sdks:java:extensions:sql:hcatalog', project ':sdks:java:extensions:sql:jdbc', project ':sdks:java:extensions:sql:payloads', project ':sdks:java:extensions:sql:perf-tests', project ':sdks:java:extensions:sql:shell', project ':sdks:java:extensions:sql:udf', project ':sdks:java:extensions:sql:udf-test-provider', project ':sdks:java:extensions:sql:zetasql', project ':sdks:java:io:debezium:expansion-service', project ':sdks:java:io:elasticsearch-tests:elasticsearch-tests-2', project ':sdks:java:io:elasticsearch-tests:elasticsearch-tests-5', project ':sdks:java:io:elasticsearch-tests:elasticsearch-tests-6', project ':sdks:java:io:elasticsearch-tests:elasticsearch-tests-7', project ':sdks:java:io:elasticsearch-tests:elasticsearch-tests-8', project ':sdks:java:io:elasticsearch-tests:elasticsearch-tests-common', project ':sdks:java:io:google-cloud-platform:expansion-service', project ':sdks:java:io:kinesis:expansion-service', project ':sdks:java:io:snowflake:expansion-service', project ':sdks:python:apache_beam:testing:load_tests', project ':sdks:python:test-suites:dataflow:py37', project ':sdks:python:test-suites:dataflow:py38', project ':sdks:python:test-suites:dataflow:py39', project ':sdks:python:test-suites:direct:py37', project ':sdks:python:test-suites:direct:py38', project ':sdks:python:test-suites:direct:py39', project ':sdks:python:test-suites:direct:xlang', project ':sdks:python:test-suites:portable:py37', project ':sdks:python:test-suites:portable:py38', project ':sdks:python:test-suites:portable:py39', project ':sdks:python:test-suites:tox:py37', project ':sdks:python:test-suites:tox:py38', project ':sdks:python:test-suites:tox:py39', project ':sdks:python:test-suites:tox:pycommon']

Configure project :

Evaluating root project 'beam' using build file 'D:\IDEA_project\beam-master\beam-master\build.gradle.kts'.

FAILURE: Build failed with an exception.

Build file 'D:\IDEA_project\beam-master\beam-master\build.gradle.kts' line: 19

An exception occurred applying plugin request [id: 'org.apache.beam.module']

Could not find implementation class 'org.apache.beam.gradle.BeamModulePlugin' for plugin 'org.apache.beam.module' specified in jar:file:/F:/Develop/gradle_repo/caches/jars-8/78f4232e07f21c99c3dae22e46530c11/buildSrc.jar!/META-INF/gradle-plugins/org.apache.beam.module.properties.

Run with --debug option to get more log output. Run with --scan to get full insights.

org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.apache.beam.module']

at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.exceptionOccurred(DefaultPluginRequestApplicator.java:200)

at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugin(DefaultPluginRequestApplicator.java:182)

at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:95)

at org.gradle.kotlin.dsl.provider.PluginRequestsHandler.handle(PluginRequestsHandler.kt:48)

at org.gradle.kotlin.dsl.provider.StandardKotlinScriptEvaluator$InterpreterHost.applyPluginsTo(KotlinScriptEvaluator.kt:197)

at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.applyPluginsTo(Interpreter.kt:360)

at Program.execute(Unknown Source)

at org.gradle.kotlin.dsl.execution.Interpreter$ProgramHost.eval(Interpreter.kt:502)

at org.gradle.kotlin.dsl.execution.Interpreter.eval(Interpreter.kt:178)

at org.gradle.kotlin.dsl.provider.StandardKotlinScriptEvaluator.evaluate(KotlinScriptEvaluator.kt:119)

at org.gradle.kotlin.dsl.provider.KotlinScriptPluginFactory$create$1.invoke(KotlinScriptPluginFactory.kt:51)

at org.gradle.kotlin.dsl.provider.KotlinScriptPluginFactory$create$1.invoke(KotlinScriptPluginFactory.kt:36)

at org.gradle.kotlin.dsl.provider.KotlinScriptPlugin.apply(KotlinScriptPlugin.kt:34)

at org.gradle.configuration.BuildOperationScriptPlugin$1$1.run(BuildOperationScriptPlugin.java:69)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:395)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:387)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:84)

at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)

at org.gradle.configuration.BuildOperationScriptPlugin$1.execute(BuildOperationScriptPlugin.java:66)

at org.gradle.configuration.BuildOperationScriptPlugin$1.execute(BuildOperationScriptPlugin.java:63)

at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:49)

at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:63)

at org.gradle.configuration.project.BuildScriptProcessor$1.run(BuildScriptProcessor.java:45)

at org.gradle.internal.Factories$1.create(Factories.java:26)

at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:245)

at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:226)

at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:42)

at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)

at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:35)

at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject$1.run(LifecycleProjectEvaluator.java:102)

at org.gradle.internal.Factories$1.create(Factories.java:26)

at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:180)

at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)

at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:271)

at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:265)

at org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withMutableState(DefaultProjectStateRegistry.java:226)

at org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:91)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:395)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:387)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:84)

at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)

at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:63)

at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:710)

at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:145)

at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:36)

at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:62)

at org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsPreparer.java:61)

at org.gradle.configuration.BuildOperatingFiringProjectsPreparer$ConfigureBuild.run(BuildOperatingFiringProjectsPreparer.java:52)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:395)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:387)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:84)

at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)

at org.gradle.configuration.BuildOperatingFiringProjectsPreparer.prepareProjects(BuildOperatingFiringProjectsPreparer.java:40)

at org.gradle.initialization.DefaultGradleLauncher.prepareProjects(DefaultGradleLauncher.java:220)

at org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:155)

at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:140)

at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:120)

at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:74)

at org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:67)

at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:180)

at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)

at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67)

at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56)

at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner.run(ClientProvidedPhasedActionRunner.java:60)

at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)

at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)

at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:63)

at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)

at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:39)

at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:51)

at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:45)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399)

at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150)

at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94)

at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)

at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:45)

at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:50)

at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:47)

at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:80)

at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:47)

at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)

at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:42)

at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:28)

at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:87)

at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55)

at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:60)

at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:38)

at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:68)

at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:38)

at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:37)

at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:26)

at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:60)

at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32)

at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:56)

at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42)

at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:48)

at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32)

at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:68)

at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)

at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)

at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)

at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)

at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)

at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)

at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)

at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)

at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)

at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)

at org.gradle.util.Swapper.swap(Swapper.java:38)

at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)

at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)

at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)

at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)

at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)

at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)

at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)

at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:82)

at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)

at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)

at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)

at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)

at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)

at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)

at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)

Caused by: org.gradle.api.plugins.InvalidPluginException: Could not find implementation class 'org.apache.beam.gradle.BeamModulePlugin' for plugin 'org.apache.beam.module' specified in jar:file:/F:/Develop/gradle_repo/caches/jars-8/78f4232e07f21c99c3dae22e46530c11/buildSrc.jar!/META-INF/gradle-plugins/org.apache.beam.module.properties.

at org.gradle.api.internal.plugins.DefaultPluginRegistry$1.load(DefaultPluginRegistry.java:74)

at org.gradle.api.internal.plugins.DefaultPluginRegistry$1.load(DefaultPluginRegistry.java:52)

at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3445)

at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2194)

at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2153)

at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2043)

at com.google.common.cache.LocalCache.get(LocalCache.java:3851)

at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3875)

at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4800)

at org.gradle.api.internal.plugins.DefaultPluginRegistry.uncheckedGet(DefaultPluginRegistry.java:151)

at org.gradle.api.internal.plugins.DefaultPluginRegistry.lookup(DefaultPluginRegistry.java:146)

at org.gradle.api.internal.plugins.DefaultPluginRegistry.lookup(DefaultPluginRegistry.java:130)

at org.gradle.plugin.use.resolve.internal.ClassPathPluginResolution.execute(ClassPathPluginResolution.java:47)

at org.gradle.plugin.use.resolve.internal.ClassPathPluginResolution.execute(ClassPathPluginResolution.java:27)

at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$1.run(DefaultPluginRequestApplicator.java:98)

at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugin(DefaultPluginRequestApplicator.java:178)

... 134 more

Caused by: java.lang.ClassNotFoundException: org.apache.beam.gradle.BeamModulePlugin

at org.gradle.api.internal.plugins.DefaultPluginRegistry$1.load(DefaultPluginRegistry.java:72)

... 149 more

BUILD FAILED in 5s

deepakb1 commented 2 years ago

I am having the same issue with the source of 2.41.0 `Build file '/Users/db794y/code/beam-2.41.0/build.gradle.kts' line: 19

An exception occurred applying plugin request [id: 'org.apache.beam.module']

Could not find implementation class 'org.apache.beam.gradle.BeamModulePlugin' for plugin 'org.apache.beam.module' specified in jar:file:/Users/db794y/.gradle/caches/jars-9/52b31c9fc419607b64b1df86d0160cf7/buildSrc.jar!/META-INF/gradle-plugins/org.apache.beam.module.properties. `

Any help is appreciated.