标签:lan 拷贝 ash www spring url class epo art
1、参考《Java Spring MVC项目搭建(一)——Spring MVC框架集成》配置spring mvc需要的jar包及eclipse配置(主要是针对servlet-api.jar)
2、配置项目需要的其它jar包,尤其是mybatis jar包,可以从maven库中http://mvnrepository.com/进行搜索并下载,主要有以下几个jar包,此处我下载的都是最新版:
2.1、commons-logging-1.2.jar:http://mvnrepository.com/artifact/commons-logging/commons-logging (《Java Spring MVC项目搭建(一)——Spring MVC框架集成》)已经配置,可忽略。
log4j-1.2.17.jar:http://mvnrepository.com/artifact/log4j/log4j
mybatis-3.4.2.jar:http://mvnrepository.com/artifact/org.mybatis/mybatis
mybatis-spring-1.3.1.jar:http://mvnrepository.com/artifact/org.mybatis/mybatis-spring
mysql-connector-java-6.0.5.jar:http://mvnrepository.com/artifact/mysql/mysql-connector-java
将以上jar包拷贝到/WebContent/WEB-INF/lib目录下,如图所示:
标签:lan 拷贝 ash www spring url class epo art
原文地址:http://www.cnblogs.com/eczhou/p/6295744.html