文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Issues of some jars in Maven (sojo-optional-0.5.0.jar, SQLServer jdbc jar)

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

时间:2010-07-19  来源:7wolfs

1. for spring-json (sojo-optional-0.5.0.jar)
add repository for spring-json (sojo-optional-0.5.0.jar) into pom.xml
<repository>
      <id>Spring json</id>
      <url>http://spring-json.sourceforge.net/repository</url>
</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
<dependency>
        <groupId>com.microsoft.sqlserver</groupId>
        <artifactId>sqljdbc</artifactId>
        <version>1.0</version>
</dependency>


for sqljdbc.jar (SQLServer JDBC) , refer to attachment.
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载