搭建最简单的spring mvc框架必需的jar包
要搭建一个spring mvc的hello world程序,必须加入的jar包如下:
1、commons-logging.jar
2、spring-aop.jar
3、spring-beans.jar
4、spring-context.jar
5、spring-core.jar
6、spring-expression.jar
7、spring-web.jar
8、spring-webmvc.jar
其中1-7是spring运行必需,8是spring-webmvc必需
spring包下载地址:https://repo.spring.io/simple/libs-release-local/org/springframework/spring/
commons-logging.jar下载地址:http://commons.apache.org/proper/commons-logging
如图:
另外:
图中jsp-api.jar和servlet-api.jar是运行servlet和jsp文件必需jar包,可从tomca安装文件夹的bin目录复制到本地文件夹