diamond types are not supported -sourceX.X
file ->Project Structure ->project setting ->project ->project language level 改成一下選項(xiàng)
但是還是不行仑濒,后來發(fā)現(xiàn)還是需要改一下這里
在prject setting ->Modules中也將Language level調(diào)整至以上選項(xiàng)愿卒,做到匹配:
問題解決
diamond types are not supported -sourceX.X
file ->Project Structure ->project setting ->project ->project language level 改成一下選項(xiàng)
但是還是不行仑濒,后來發(fā)現(xiàn)還是需要改一下這里
在prject setting ->Modules中也將Language level調(diào)整至以上選項(xiàng)愿卒,做到匹配:
問題解決