You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2025/01/13 19:08:00 UTC
[jira] [Commented] (KAFKA-18493) Fix configure :streams:integration-tests project error
[ https://issues.apache.org/jira/browse/KAFKA-18493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912640#comment-17912640 ]
Matthias J. Sax commented on KAFKA-18493:
-----------------------------------------
What do you mean by "when I configure gradle"? What command are you running?
> Fix configure :streams:integration-tests project error
> ------------------------------------------------------
>
> Key: KAFKA-18493
> URL: https://issues.apache.org/jira/browse/KAFKA-18493
> Project: Kafka
> Issue Type: Bug
> Reporter: 黃竣陽
> Assignee: 黃竣陽
> Priority: Major
>
> It alaways has an error when I configure the gradle, we should fix it.
> ```
> Unable to build Scala project configuration
>
> org.gradle.api.GradleException: Cannot infer Scala class path because no Scala library Jar was found. Does project ':streams:integration-tests' declare dependency to scala-library? Searched classpath: file collection.
> at org.gradle.api.tasks.ScalaRuntime$1.inferScalaClasspath(ScalaRuntime.java:103)
> at org.gradle.api.tasks.ScalaRuntime$1.createDelegate(ScalaRuntime.java:92)
> at org.gradle.api.internal.file.collections.LazilyInitializedFileCollection.visitChildren(LazilyInitializedFileCollection.java:52)
> at org.gradle.api.internal.file.CompositeFileCollection.visitContents(CompositeFileCollection.java:113)
> at org.gradle.api.internal.file.AbstractFileCollection.getFiles(AbstractFileCollection.java:123)
> at org.jetbrains.plugins.gradle.tooling.builder.ScalaModelBuilderImpl.createModel(ScalaModelBuilderImpl.java:64)
> at org.jetbrains.plugins.gradle.tooling.builder.ScalaModelBuilderImpl.buildAll(ScalaModelBuilderImpl.java:46)
> at com.intellij.gradle.toolingExtension.impl.modelBuilder.ExtraModelBuilder.buildServiceModel(ExtraModelBuilder.java:90)
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)