[英]spring compatibility with javax servlet
How to understand the compatible versions of javax-servlet-api and hibernate for each version of spring. 如何了解每个Spring版本的javax-servlet-api和hibernate的兼容版本。 Most times, when I upgrading the spring version, I am getting error due to version incompatibility of javax-servlte-api and hibernate. 大多数时候,当我升级春季版本时,由于javax-servlte-api和hibernate的版本不兼容,我得到了错误提示。
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,但是一种不错的方法是查看Spring Boot为所使用版本定义的依赖项。 Spring Boot includes a spring-boot-dependencies
project, which does this. Spring Boot包含一个spring-boot-dependencies
项目,该项目即可。
You can look through the history of the dependencies at GitHub: 您可以在GitHub上查看依赖项的历史记录:
https://github.com/spring-projects/spring-boot/blob/master/spring-boot-dependencies/pom.xml 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. 只要找到使用您所使用的核心Spring版本的版本,并记下这些版本即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.