[ 
https://issues.apache.org/jira/browse/KAFKA-18493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

黃竣陽 updated KAFKA-18493:
------------------------
    Attachment: image-2025-01-14-08-46-29-732.png

> Fix configure :streams:integration-tests project error
> ------------------------------------------------------
>
>                 Key: KAFKA-18493
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18493
>             Project: Kafka
>          Issue Type: Bug
>          Components: build, streams
>            Reporter: 黃竣陽
>            Assignee: 黃竣陽
>            Priority: Major
>         Attachments: image-2025-01-14-08-46-14-665.png, 
> image-2025-01-14-08-46-29-732.png
>
>
> 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)

Reply via email to