quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.44k stars 2.58k forks source link

Upgrading to 3.4.1 from 3.3.3 with Gradle 8.3 causes exceptions when running @QuarkusTests via IntelliJ #36136

Open Will-1 opened 10 months ago

Will-1 commented 10 months ago

Describe the bug

When upgrading to 3.4.1 from 3.3.3 with Gradle 8.3, test runs cause exceptions when running @QuarkusTests via IntelliJ.

IntelliJ Gradle Config: image

This was tried with both GraalVM CE 17 and 21 and the result was the same.

Note the tests run without issue when running via the terminal with quarkus dev

Expected behavior

Tests run.

Actual behavior

Tests fail to run with the following stack trace.

Caused by: org.gradle.api.GradleException: Could not determine the class-path for class io.quarkus.bootstrap.resolver.QuarkusModelBuildAction

Full stack trace: Quarkus-test-run-stack-trace.log

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

21

GraalVM version (if different from Java)

21

Quarkus version or git rev

3.4.1

Build tool (ie. output of mvnw --version or gradlew --version)

Gradle 8.3

Additional information

No response

quarkus-bot[bot] commented 10 months ago

/cc @glefloch, @quarkusio/devtools

Sarquamon commented 1 month ago

Hello @Will-1 did you happen to solve the issue? if so, can you please share how?

Thanks!