How to upgrade ALL the spring dependency?

后端 未结 4 1727
情话喂你
情话喂你 2021-02-06 19:54

I have a spring-webmvc based web application. It used the org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer which is not

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-06 20:06

    you can update dependency like this globally :

    
            4.1.2.RELEASE
    
    
    
        org.springframework
        spring-core
        ${spring.version}
    
    
    
        org.springframework
        spring-web
        ${spring.version}
    
    
    
        org.springframework
        spring-webmvc
        ${spring.version}
    
    

    using this global dependency version management, you can avoid some version compatibility exception.

提交回复
热议问题