0
点赞
收藏
分享

微信扫一扫

can not be named yunan because its located directly under the workspace root


新建spring boot项目时提示下面错误:

Project at 'C:\worksapce_all\workspace_test\swagger' can't be named 'yunan' because it's located directly under the workspace root. If such a project is renamed, Eclipse would move the container directory. To resolve this problem, move the project out of the workspace root or configure it to have the name 'swagger'.    swagger        line 0    Gradle Error Marker

原因是settings.gradle里的rootProject.name名与工程名不一致导致的,改后工程右键gradle=>refresh gradle project即可。

举报

相关推荐

0 条评论