kotlin-ddd-sample icon indicating copy to clipboard operation
kotlin-ddd-sample copied to clipboard

Error when importing Project in Eclipse

Open keltik85 opened this issue 5 years ago • 2 comments

Thanks for the cool example project:

I get the following error in Eclipse when importing it as a Gradle project:

Project at '/home/myuser/eclipse-workspace/kotlin-ddd-sample' can't be named 'kotlinddd' 
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 'kotlin-ddd-sample'.
kotlin-ddd-sample		line 0	Gradle Error Marker

keltik85 avatar Jun 27 '19 13:06 keltik85

Didn't you have a way to resolve this error? Because I created the project later I change the name in GitHub and now whenever I clone it I can't import it correctly because of this error.

OscarCarrilloTR avatar Jun 20 '22 13:06 OscarCarrilloTR

@OscarCarrilloTR maybe, wrong gralde version causing this problem. I also encountered this problem at first, using local gralde, version 8.5. then, just use project command ./gradlew build ,it works well.

echozoo avatar Dec 19 '23 01:12 echozoo