一、在一个springboot项目中引用另外另外一个springboot项目
解决: 在idea中 maven install 一下。
二、idea 打包springboot 跳过test :
解决:修改pom.xml 中,添加
<properties>
<java.version>1.8</java.version>
<skipTests>true</skipTests>
</properties>
三、打包spingboot 打包的jar中没有包名,只有boot-inf ,会引起引用时调用不到
解决:在pom.xml中
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>