Hello!
I have Kotlin/Spring Boot/JPA project that works when built on Maven, but when building and starting it using IntelliJ IDEA (OSX) get this error on start:
`org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: @Configuration class 'SwaggerDocumentationConfig' may not be final. Remove the final modifier to continue.``
I have the newest IDEA with the newest Kotlin plugin installed. On top of that I have used
kotlin-maven-plugin
with
all-open
,
jpa
,
spring
, which works for Maven.
Anyone had similar problem? I’ve been Googling for the issue and found similar errors and solutions for those but none worked for me. My colleague has the same problem.
Thanks in advance!