spring-projects/spring-integration-aws

Class not found error - org/springframework/cloud/aws/core/env/ResourceIdResolver

jifeiiii opened this issue · 3 comments

I'm getting an error of Class not found error - org/springframework/cloud/aws/core/env/ResourceIdResolver and I can not understand what is this class and who calls it. My dependencies are:

implementation "org.springframework.integration:spring-integration-aws:2.3.3.RELEASE"
implementation "io.awspring.cloud:spring-cloud-aws-context:2.4.0"

There is no such class and it looks like the search for it is within proxy method (cglib stuff). The only class I got is https://docs.awspring.io/spring-cloud-aws/docs/current/apidocs/io/awspring/cloud/core/env/ResourceIdResolver.html

It happened due to the deprecation of spring-cloud-aws. Upgrading version fixed this.

You have to use latest Spring Integration AWS 2.5.0 for compatibility with that io.awspring.cloud.