赞
踩
Cannot Save Settings:
Module "spring_cloud_sentinel_demo"
must not contain source root "D:\java_test\Intesij_idea\spring_cloud_sentinel_demo\order_service_rest\src\main\resources".
The root already belongs to module "order_service_rest"
我们经常复制项目的时候,会出现很多问题,可能会多次重复复制删除子模块,在进行模块操作时,出现以下问题:
Cannot Save Settings
Module “spring_cloud_sentinel_demo”
must not contain source root “D:\java_test\Intesij_idea\spring_cloud_sentinel_demo\order_service_rest\src\main\resources”.
The root already belongs to module “order_service_rest”
1)打开 idea ,依次点击【文件】(File),【项目结构】(Project Structure)。
2)在【项目结构】(Project Structure)菜单下,点击【模块】(Modules),再点击 父工程(不是出现问题的子工程),找到【排队项】(Excluded),把包含出现错误的子工程信息,全部删除。点击【提交】(Apply)【确定】(OK)。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。