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.

)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade