idea手动导入了包但编译运行还是报找不到xxx.jar包
先把jar包放目录下并add as libary

在pom.xml中加入
<!--添加的本地的外部jar包依赖-->
<dependency>
android python <!--groupId、artifactId、version为自定义,groupId与artifactId但是不能重名-->
<groupId>JNative</groupId>
<artifactId>JNative</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/lib/JNative.jar</systemPath>
</dependency>pom.xml中加入
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <includeSystemScope>true</includeSystemScope> </configuration> <executions> <execution> <phase>none</phase> 编程客栈 </execution> </executions> </plugin> </plugins> </build>
build clean run 即可~~~~