一、用MVN 编译 spring-boot
java application.yml 加载 不了配置文件 ,以下几个方法都 可以适下
mv clean install
mvn clean compile
mvn install
mvn spring-boot:run
二、ieda 编译spring-boot
错误一:
Warning:(20, 1) java: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
Error:(14, 48) java: 程序包com.sun.org.apache.bcel.internal.generic不存在
解决方法:
fiel -> Project Structure 进行设置jdk, 看否jdk 版本一致