I created a new project on Kotlin to generate a report. Knowing Kotlin can reduce number of lines of code and is safer than Java, I used Spring-jpa and Kotlin to get this done. All my @Configuration classes had an error:
Classes annotated with @Configuration could be implicitly subclassed and must not be final
FYI, I am using a maven project with Kotlin 1.3.50. From my knowledge, I knew that spring does subclass for injecting values.
How do I make spring happy but not keep writing open in each of my class where spring complains?