pom引入本地jar
<!--jacob依赖--> <dependency> <groupId>com.jacob</groupId> <artifactId>jacob</artifactId> <version>1.19</version> <scope>system</scope> <!--本地的jacob.jar的路径--> <systemPath>D:DevInstalljacob18,19jacob-1.19jacob.jar</systemPath> </dependency>
<!--jacob依赖--> <dependency> <groupId>com.jacob</groupId> <artifactId>jacob</artifactId> <version>1.19</version> <scope>system</scope> <!--本地的jacob.jar的路径--> <systemPath>D:DevInstalljacob18,19jacob-1.19jacob.jar</systemPath> </dependency>