简体   繁体   中英

spring compatibility with javax servlet

How to understand the compatible versions of javax-servlet-api and hibernate for each version of spring. Most times, when I upgrading the spring version, I am getting error due to version incompatibility of javax-servlte-api and hibernate.

I was recently looking for similar info and stumbled on this links which give some pointers/minimum dependencies while migrating from earlier version of Spring to later versions. Hope it helps.

You may not be using Spring Boot directly, but a decent way to do this would be to look at the dependencies defined by Spring Boot for the version you are using. Spring Boot includes a spring-boot-dependencies project, which does this.

You can look through the history of the dependencies at GitHub:

https://github.com/spring-projects/spring-boot/blob/master/spring-boot-dependencies/pom.xml

Just find the version which uses the core Spring version you are on and take note of the versions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM