spring-cloud-function
spring-cloud-function copied to clipboard
NoSuchBeanDefinitionException: No qualifying bean of type FunctionCatalog available
Describe the bug I'm getting this message when I'm trying to invoke my lambda:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.cloud.function.context.FunctionCatalog' available
I've also tried to launch using mvn spring-boot:run goal. Then I'm getting:
***************************
APPLICATION FAILED TO START
***************************
Description:
Web application could not be started as there was no org.springframework.boot.web.servlet.server.ServletWebServerFactory bean defined in the context.
Action:
Check your application's dependencies for a supported servlet web server.
Check the configured web application type.
Any ideas?
Sample I've created a public repo here.
Please, close. It was absolutly my fault.
Missing @SpringBootApplication ;) No problem, all is good