Describe the bug
function-sample-azure-web
The application fails during initialization with a runtime exception (e.g. NoClassDefFoundError related to Spring Boot internals such as DefaultBootstrapContext).
Dependency inspection shows incompatible major versions being pulled in simultaneously:
- Spring Boot 4 APIs being used with Spring Cloud Function code built for Boot 3.x
- Mixed Jackson 2.x and Jackson 3.x artifacts on the classpath
The sample should either:
- Use Spring Boot 3.x with a compatible Spring Cloud Function 4.x release
OR
- Be updated to a Spring Cloud Function version compatible with Spring Boot 4
Sample
- Navigate to sample: spring-cloud-function-samples/function-sample-azure-web
- ./mvnw azure-functions:run
- curl -X GET http://localhost:7072/api/AzureWebAdapter/