I just noticed that `tomcat-embed-core` brings an outdated JPA API. Spring Framework 5 requires JPA 2.1 now and unless I order the classpath in a certain way, my app breaks when deployed in embedded tomcat because of this. Would it be possible to upgrade the JPA API that Tomcat brings?
Hmm. We have a sub-set of the JPA annotations so we can do resource injection. It would be better if we could remove that dependency entirely. I wonder if that is possible.
I took a look at removing the dependency entirely but that was going to need a fair amount of reflection. Therefore, I updated the API for 8.0.x onwards (since this is a Java EE 7 change). The fix will be in: 8.0.37 8.5.5 9.0.0.M10