https://kotlinlang.org logo
Title
g

Guschinaglia

09/20/2018, 11:58 AM
Hi guys! i'm creating a new project using Kotlin + Spring and Gradle but for some reason i receive this error:
m

morys

09/20/2018, 12:00 PM
You probably need to add 'Kt' to your gradle springBoot mainClassName configuration
2
springBoot { mainClassName = 'com.gustavo.VehicleServices.VehicleServicesApplicationKt' }
2
g

Guschinaglia

09/20/2018, 12:03 PM
Hi! Worked well.. There is a reason for it ? My class does not have this name. Its just because of the extension ?
g

Guschinaglia

09/20/2018, 12:36 PM
Got it ! Many thanks !