idea_internal java compiler error

阅读更多

java: javacTask: 源版本 1.6 需要目标版本 1.6

java: Errors occurred while compiling module 'org.springframework.samples.jpetstore'

Compilation completed with 1 error and 0 warnings in 2 sec

1 error

0 warnings

java: Compilation failed: internal java compiler error

 

看了model的jdk版本,无异常,其实只需设置Setting->Compiler->Java Compiler,发现有的module不是最新的,选jdk对应版本就行了。

你可能感兴趣的:(idea_internal java compiler error)