java 编译错误-解决方法


一、用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 版本一致

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM