问题描述:

Information:Using javac 1.6.0_43 to compile java sources
Information:java: Errors occurred while compiling module 'searchwork.core.agent'
Information:2017/11/22 19:59 - Compilation completed with 1 error and 0 warnings in 10 sec
Error:java: 无效的源版本: 1.7

 

解决办法:

第一步:

file->setting

idea jdk版本问题

第二步:

file-> project Structure 选择1.7

idea jdk版本问题

 

相关文章: