Error:java: Compilation failed: internal java comp

解決方式:java

step1spa

File->Project Structure -> project 菜單下,project SDK更改成1.8,而後project language level 更改成sdk defaultio

這時候須要檢查一下File->Project Structure -> Modules下模塊的language level是否更改,未更改的話,點擊下拉菜單更改一下jdk

step2sdk

File-setting->Bulid,Excution,Deployment->compiler->java Compiler中把相應的模塊更改成jdk8jdk8


以上兩步便可!
co

相關文章
相關標籤/搜索