简体   繁体   English

与javax servlet的spring兼容性

[英]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的版本不兼容,我得到了错误提示。

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,但是一种不错的方法是查看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.

相关问题 javax.servlet.ServletException:servlet spring的Servlet.init()引发了异常 - javax.servlet.ServletException: Servlet.init() for servlet spring threw exception javax.servlet.ServletException:Servlet的Servlet.init()引发异常,并且找不到元素'beans'的声明 - javax.servlet.ServletException: Servlet.init() for servlet spring threw exception & Cannot find the declaration of element 'beans' Java Spring MVC - java.lang.NoClassDefFoundError:javax / servlet / ServletContext - Java Spring MVC - java.lang.NoClassDefFoundError: javax/servlet/ServletContext Spring boot:无法加载缓存项:javax/servlet/Filter - Spring boot : Unable to load cache item: javax/servlet/Filter Json映射错误:javax.servlet.ServletException。 春季框架 - Json mapping error: javax.servlet.ServletException. Spring framework CORS 源在使用 Javax servlet Webfilter 的 Spring Boot 中不起作用 - CORS origin is not working in Spring boot with Javax servlet Webfilter Spring无法使用javax.servlet编译JSP - Spring can't compile jsp with javax.servlet 如何使用Spring将'Cookie'标头解析为`javax.servlet.http.Cookie`? - How to parse the 'Cookie' header into `javax.servlet.http.Cookie` with Spring? Spring在没有javax.servlet和HttpServletRequest的情况下获取IP地址 - Spring get ip address without javax.servlet and HttpServletRequest 在我的spring项目中,ServletDispatcher不能转换为Javax.servlet.Servlet异常 - ServletDispatcher cannot be cast to Javax.servlet.Servlet exception in my spring project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM