springboot No Java compiler available for configuration options compilerClassName: [null] and compil


今天使用eclipse創建springboot整合jsp出現一個問題,在idea中並沒有遇到這個問題。最后發現是需要在eclipse中添加一個eclipse依賴,依賴如下:

<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<version>4.6.1</version>
<scope>provided</scope>
</dependency>
添加該依賴后問題解決。

錯誤提示如下:

java.lang.IllegalStateException: No Java compiler available for configuration options compilerClassName: [null] and compiler: [null]


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM