1.打开File --> Project Structrue 找到对于的modules 点到右侧的Resources会看到这句话
module "Test" is imported from maven 。 any changes made in it is configuration might be lost after reimporting
2.点击Apply 即可
tips:注意检查下所有Modules是否有相同问题
module "Test" is imported from maven 。 any changes made in it is configuration might be lost after reimporting