原因:新增的模块src或test没有设置为源码目录
解放:
File --> Project Structure --> Project Settions 下的Modules
选择新增的模块,点击src,右键选择Sources 即可