To associate parameter names with their respective bean, Spring requires the to be compiled with the debug flag enabled. Spring caches the relationship on disk, which causes significant I/O time penalty. Use the @ConstructorProperties annotation instead.
https://stackoverflow.com/questions/2420193/how-to-avoid-dependency-injection-constructor-madness