Open gfourny-sfeir opened 1 month ago
On invocation, the beans of our application aren't scanned. However, locally with the function plugin, we saw all beans. To show this, the config of logback-spring.xml:
<logger name="org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLogger" level="DEBUG" additivity="false">
<appender-ref ref="consoleAppender"/>
</logger>
<logger name="org.springframework.context.annotation.ClassPathBeanDefinitionScanner" level="DEBUG" additivity="false">
<appender-ref ref="consoleAppender"/>
</logger>
<logger name="org.springframework.beans.factory.support.DefaultListableBeanFactory" level="DEBUG" additivity="false">
<appender-ref ref="consoleAppender"/>
</logger>
Describe the bug We have still bug on spring-cloud-function-adapter-gcp 4.1.3. We using Spring Boot 3.3.1 with Spring Cloud Function. When the function is invoking, we have this error:
It was working with Spring Boot 3.1.x
Sample pom.xml:
The java Bean :
The properties:
I have two integration tests to validate the function, all passed: