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.