Maven adds external jars, and springboot packaging

First, maven add external jar

It can be referenced by setting the value of scope, the code is as follows:

    <dependency>
        <groupId>ipaynow</groupId>
        <artifactId>ipaynow</artifactId>
        <scope>system</scope>
        <version>2.1.0</version>
        <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/ipaynow_base_v2.1.0.jar</systemPath>
    </dependency>

2. Springboot packages external reference packages

Put the external reference package in the src/main/webapp/WEB-INF/lib/ directory. As shown in the figure:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325998792&siteId=291194637