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即可。
还没有评论,来说两句吧...