Issues of some jars in Maven (sojo-optional-0.5.0.jar, SQLServer jdbc jar)

[b][size=medium]1. for spring-json (sojo-optional-0.5.0.jar)[/size][/b]
[size=small]add repository for spring-json (sojo-optional-0.5.0.jar) into pom.xml[/size]

<repository>
<id>Spring json</id>
<url>http://spring-json.sourceforge.net/repository</url>
</repository>


[b][size=medium]2. for sqljdbc jar of SQL Server[/size][/b]
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

<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>sqljdbc</artifactId>
<version>1.0</version>
</dependency>


for sqljdbc.jar (SQLServer JDBC) , refer to attachment.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值