为项目设置Jdk
File --> Project Structure --> Project --> project SDK
其他方式:https://blog.csdn.net/qq_28289405/article/details/82698856