fix: JDK 17 - Update Hibernate and XML bindings dependencies #106
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
On JDK 17 the webapp currently fails on startup as discussed in #97.
This is apparently related to changes in what was included in the default JDK platform, as well as cascading changes in the related libraries.
See https://hibernate.atlassian.net/browse/HHH-12551, https://stackoverflow.com/questions/64457496/spring-boot-project-org-springframework-beans-factory-beancreationexceptionerr, highsource/jaxb-tools#201.
This PR updates the Hibernate and XML bindings dependencies to avoid the issue.
FYI, I ran into a separate issue when trying to update to the latest Hibernate release (
5.6.5.Final
) when the webapp tries to refresh the site contents by hitting the REST API:...but since this older release works for now we can wait to tackle that for another day.
Closes #97, Closes #83.
Expected behavior:
Webapp starts normally. I've tested this on JDK 11 and 17 and it works on both.
Please make sure these boxes are checked before submitting your pull request - thanks!
mvn test
to make sure you didn't break anything