to the kotlin-maven-plugin plugin. Could you tell ...
# spring
m
to the kotlin-maven-plugin plugin. Could you tell me why it is required?
h
Either you're not using the
spring-boot-starter-parent
(which contains this block as a default) as a parent to your project or you have overridden it somewhere. In any case, if you don't tell Maven to execute the
kotlin-maven-plugin
, then it won't be executed – and your main class will be missing when the
spring-boot-maven-plugin
is looking for it.
👍 1
m
@hho yes, you right. I use my own parent instead of
spring-boot-starter-parent