1. for spring-json (sojo-optional-0.5.0.jar)
add repository for spring-json (sojo-optional-0.5.0.jar) into pom.xml
2. for sqljdbc jar of SQL Server
1) download maven tool (alone software, not for eclipse)
http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.zip
2) unzip this zip file
3) enter into DOS window, walk into the 'bin' directory that contains the unzip file.
4) input the command below.
5) add jar into item of dependency into pom.xml
for sqljdbc.jar (SQLServer JDBC) , refer to attachment.
add repository for spring-json (sojo-optional-0.5.0.jar) into pom.xml
- Spring json
- http://spring-json.sourceforge.net/repository
2. for sqljdbc jar of SQL Server
1) download maven tool (alone software, not for eclipse)
http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-2.2.1-bin.zip
2) unzip this zip file
3) enter into DOS window, walk into the 'bin' directory that contains the unzip file.
4) input the command below.
- mvn install:install-file -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc -Dversion=1.0 -Dpackaging=jar -Dfile=E:\Server\lib\sqljdbc.jar
5) add jar into item of dependency into pom.xml
- com.microsoft.sqlserver
- sqljdbc
- 1.0
for sqljdbc.jar (SQLServer JDBC) , refer to attachment.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26896557/viewspace-773936/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26896557/viewspace-773936/