Creditas / kotlin-ddd-sample

A sample DDD/CQRS project using KOTLIN :beer:
292 stars 51 forks source link

Error when importing Project in Eclipse #6

Open keltik85 opened 5 years ago

keltik85 commented 5 years ago

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
OscarCarrilloTR commented 2 years ago

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.

echozoo commented 11 months ago

@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.