后台窗口报错如下:
问题原因
项目jdk版本配置不正确。
解决方案
①File ->Project Structure
②
③之后还要检查一下这里 Settings-->Build,Execution,Deployment-->Compiler-->Java Compiler
最后检查没问题,重新启动idea即可。
如果还不行,那么试下pom.xml配置:1.5不支持diamond运算符,请使用source 7或更高版本以启用diamond运算符,怎么办?
项目jdk版本配置不正确。
①File ->Project Structure
②
③之后还要检查一下这里 Settings-->Build,Execution,Deployment-->Compiler-->Java Compiler
最后检查没问题,重新启动idea即可。
如果还不行,那么试下pom.xml配置:1.5不支持diamond运算符,请使用source 7或更高版本以启用diamond运算符,怎么办?