Join Slack
Powered by
Hi guys! i'm creating a new project using Kotlin +...
# getting-started
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:
-.kt
m
morys
09/20/2018, 12:00 PM
You probably need to add 'Kt' to your gradle springBoot mainClassName configuration
➕ 2
morys
09/20/2018, 12:00 PM
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 ?
d
diesieben07
09/20/2018, 12:07 PM
https://kotlinlang.org/docs/reference/java-to-kotlin-interop.html#package-level-functions
➕ 3
g
Guschinaglia
09/20/2018, 12:36 PM
Got it ! Many thanks !
2
Views
Open in Slack
Previous
Next