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