Jul 20, 2017 · 1 min read
It’s something really annoying. If you are using Spring Boot for instance and you declare your application classe like this one “@SpringBootApplication class MyApplication” you will get this excption once you try to run your app: “org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: @Configuration class ‘MyApplication’ may not be final. Remove the final modifier to continue.”.
To fix it, you MUST add “open” to the application class declaration. So that “@SpringBootApplication open class DemoApplication” runs perfectelly. And this may occor in many other cases in other frameworks that rely on proxy technical features usage.
