The code as is works fine but as soon as I try to use dependency injection aws dies with error "No function defined". Just adding @componentscan(basePackages = { "com.test.pack1" }) throws the error
Any idea why that is? Is possible to do dependency injection in a lambda?