Closed barbeau closed 2 years ago
I just testes to see if this PR would fix #102 as well, and it doesn't 😿. Merging this PR because it fixes two other issues, thank you for this contribution @barbeau!
FYI, I ran into a separate issue
Would it be useful to open an issue now to keep track of this?
Would it be useful to open an issue now to keep track of this?
Yes, I think so. I believe this is the same issue blocking the merge of https://github.com/MobilityData/gtfs-realtime-validator/pull/90 and https://github.com/MobilityData/gtfs-realtime-validator/pull/89. So would be good to have a new issue that ties all of these together.
Yes, I think so. I believe this is the same issue blocking the merge of https://github.com/MobilityData/gtfs-realtime-validator/pull/90 and https://github.com/MobilityData/gtfs-realtime-validator/pull/89. So would be good to have a new issue that ties all of these together.
@barbeau could you open the issue?
@barbeau could you open the issue?
I opened issue https://github.com/MobilityData/gtfs-realtime-validator/issues/139 for the problem I encountered after bumping the Hibernate dependency, and a draft PR at https://github.com/MobilityData/gtfs-realtime-validator/pull/140 that we can use to reproduce and hopefully fix the issue.
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, https://github.com/highsource/maven-jaxb2-plugin/issues/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 https://github.com/MobilityData/gtfs-realtime-validator/issues/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