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