在进行覆盖率分析时,我收到以下消息:
37 Java compilation units (6%) have been captured and are ready for analysis
当我检查 build-log.txt 时,我可以看到以下错误消息:
[WARNING] Source level >= 1.7 is not supported. Source will be parsed as 1.6.
error: expected an identifier
}catch(NullPointerException | SQLException ex){
^
此错误表明不支持 java 1.7。问题与我的设置中的覆盖率或某些配置有关吗?请确认。