I spend 3 full days looking for a bug during my Spring 3 to Spring 4 migration at work, and finally found the issue:
Spring 3 will autowire beans on the ClassName,Spring 4 does this on the full.package.name.ClassName.
In the controller I was calling
and in my mapper was this :
The a.b.c.Languages was an interface, and unfortnuately the implementation, x.y.z.Languages is called the same.Making it very hard to find the issue.
The full stackOverflow post
Spring is a fantastic open source framework that addresses the complexity of application development. One of the chief advantages of the Spring framework is its layered architecture, which allows you to be selective about which of its components you use. Spring is a cohesive framework for J2EE application development.
While developing desktop, web, enterprise, cloud, or microservices applications, almost every application type needs a robust infrastructure which takes care of dependencies, auto-configuration, and actuators.
So getting started with Spring or any other frameworks is a critical and time consuming task.Spring provides a convenient way over such application infrastructure issues with a framework called Spring Boot.Spring Boot provides the best industry practices, helps when you start applications from scratch, and boosts your application development speed.
Full tutorial >>