spring-cloud-function icon indicating copy to clipboard operation
spring-cloud-function copied to clipboard

NoSuchBeanDefinitionException: No qualifying bean of type FunctionCatalog available

Open jcabreroca opened this issue 1 year ago • 1 comments

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.

jcabreroca avatar Feb 27 '24 12:02 jcabreroca

Please, close. It was absolutly my fault.

jeusdi avatar Feb 27 '24 13:02 jeusdi

Missing @SpringBootApplication ;) No problem, all is good

olegz avatar Mar 27 '24 15:03 olegz