ClassNotFoundException starting with 3.4.5 in combination with Webflux and HATEOAS #45984
Labels
for: team-meeting
An issue we'd like to discuss as a team to make progress
type: regression
A regression from a previous release
Milestone
Uh oh!
There was an error while loading. Please reload this page.
With the update from v3.4.4 to v3.4.5 we encountered two
ClassNotFoundException
in combination with Spring Webflux and HATEOAS.I compared what has changed between these two versions and only the following had changed:
After using the previous versions of Spring Framework and Reactor, the error still persists and the only change is Spring Boot. The problem also exists with the current version 3.5.0.
There are two problems, the first relates to
CollectionJsonAffordanceModelFactory
and the second toHtmlInputTypeFactory
.stacktace-HtmlInputTypeFactory.txt
stacktace-CollectionJsonAffordanceModelFactory.txt
I have created a sample application to reproduce the error.
spring-hateoas-issue.zip
mvn package
java -jar .\target\cl-issue-demo-0.0.1-SNAPSHOT.jar
curl -v http://localhost:8080/hello
No response is received and the stacktrace is logged.
Java version is 21.
We were also able to create workarounds for both problems by triggering the static code on the main thread with an
ApplicationListener
(please seeApplicationConfiguration
in the sample app).The text was updated successfully, but these errors were encountered: