This issue is caused by the transitive dependency Spring Cloud Function and fixed in https://github.com/spring-cloud/spring-cloud-function/pull/1169. You can exclude that dependency until a new version is released. See also: https://github.com/aws/serverless-java-container/issues/904