Problem with ResourceIdResolver #311
Unanswered
andyrozman
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Unless you use CloudFormation integration you should not need |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi !
So I am upgrading project from boot 2.2 to boot 2.6 (and to cloud 2021.0.1 and of course aws cloud 2.4.1).
In my project we have defined our own SqsConfiguration, but when I try to run new micorservice after I did upgrade, I get following error
Parameter 1 of method myMessagingTemplate in com.b.b.d.a.sqs.queue.assuerer.SqsQueueAssurerConfiguration required a bean of type 'io.awspring.cloud.core.env.ResourceIdResolver' that could not be found.
When I was testing on friday I didn't have the same problem, but I didn't use bootstrap dependency then (spring-cloud-starter-bootstrap).
Which beans do implement ResourceIdResolver, that I could use... I was considering doing something like:
@bean
public ResourceIdResolver getResolver() {
// DON'T KNOW WHAT TO USE HERE
}
What would you recommend as solution?
So far I could find only one class that implements that interface (StackResourceRegistryDetectingResourceIdResolver). Are there more classes that implemnt this? I tried looking in sources, but my Intellij is not cooperating today..
Beta Was this translation helpful? Give feedback.
All reactions