1. Perference -> Setting 中 2. File -> Project Structure 3. File -> Project Structure 4. 将步骤 1, 2, 3中的Java版本设为和本机JDK一致的版本号 相关文章: