打开File -> Project Structure 选择需要的文件,右键设置为Resouces,之后classpath就正常了 相关文章: 2021-04-28 2021-04-25 2021-05-30 2021-12-20 2022-12-23 2021-04-26 2022-01-01