1、项目中新建lib目录,将本地jar拷贝到lib中。注意lib实在项目根目录中

2、pom文件引入本地jar

<dependency>
<groupId>com.citi.xing</groupId>
<artifactId>cva</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/xi_java_cva.jar</systemPath>
</dependency>
<dependency>
<groupId>com.citi.xing</groupId>
<artifactId>dp</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/xi_java_dp.jar</systemPath>
</dependency>
<dependency>
<groupId>com.citi.xing</groupId>
<artifactId>xi</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/xi_java_xi.jar</systemPath>
</dependency>
<dependency>
<groupId>com.citi.xing</groupId>
<artifactId>xvar</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/xi_java_xvar.jar</systemPath>
</dependency>
posted on 2019-10-29 15:38  colorfulworld  阅读(418)  评论(0编辑  收藏  举报