Which maven dependencies to include for spring 3.0?

前端 未结 8 529
太阳男子
太阳男子 2020-11-29 14:55

I am trying to do my first project with Spring 3.0 (and maven). I have been using Spring 2.5 (and primer versions) in quite some projects. Nevertheless I am kinda confused,

8条回答
  •  情深已故
    2020-11-29 15:16

    You can add spring-context dependency for spring jars. You will get the following jars along with it.

    
        org.springframework
        spring-context
        5.0.5.RELEASE
    
    

    if you also want web components, you can use spring-webmvc dependency.

    
        org.springframework
        spring-webmvc
        5.0.5.RELEASE
    
    

    You can use whatever version of that you want. I have used 5.0.5.RELEASE here.

提交回复
热议问题