Affects: \
Hi Team,
I am trying to build org.springframework:spring-webmvc:6.0.18 while executing ./gradlew test
the build is failing with below error
# ./gradlew test
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
> Task :spring-webmvc:test
XlsViewTests > testXlsxStreamingView() FAILED
java.lang.UnsatisfiedLinkError at XlsViewTests.java:107
<===
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
> Task :spring-webmvc:test
2541 tests completed, 1 failed, 1 skipped
> Task :spring-webmvc:test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':spring-webmvc:test'.
> There were failing tests. See the report at: file:///root/sumera/spring-framework/spring-webmvc/build/reports/tests/test/index.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 45s
213 actionable tasks: 2 executed, 211 up-to-date
Java Version: 17.0.8.1 Gradle Version: 8.2.1 Build Command: ./gradlew build -x test UT Command: ./gradlew test
Comment From: bclozel
A java.lang.UnsatisfiedLinkError
usually points to a problem with your JVM. The complete stacktrace and the test report should tell you more. This test is passing as expected on our CI and our dev machines, so I can't see any problem with it. Please ask for support on StackOverflow.