In the SpringBoot project, the introduction of third-party jar packages was solved and the war packages

In the SpringBoot project, the introduction of third-party jar packages was solved and the war packages

 <dependency>
            <groupId>org.hyperic</groupId>
            <artifactId>sigar</artifactId>
            <version>1.6.4</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/sigar.jar</systemPath>
</dependency>

If you want to do this, introduce the sigar jar package, put the jar package in the path /src/main/webapp/WEB-INF/lib/sigar.jar, and then configure it in the pom.xml file to make the project a war package There will be no mistakes.

Published 13 original articles · Like1 · Visit 2006

Guess you like

Origin blog.csdn.net/qq_31152023/article/details/103679177