[
https://issues.apache.org/jira/browse/KAFKA-18493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912685#comment-17912685
]
黃竣陽 edited comment on KAFKA-18493 at 1/14/25 12:48 AM:
-------------------------------------------------------
I use the intellij feature
!image-2025-01-14-08-47-46-010.png|width=519,height=174!
!image-2025-01-14-08-46-29-732.png|width=520,height=186!
was (Author: JIRAUSER305187):
I use the intellij feature
!image-2025-01-14-08-46-14-665.png!
!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, image-2025-01-14-08-47-46-010.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)