Home > Back-end >  The type software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder cannot be resolved
The type software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder cannot be resolved

Time:09-17

I am following the enter image description here

I've also tried cleaning and rebuilding the project to no avail.

I cannot for the life of me figure out what I need to do to make this happy. Any help would be much appreciated.

CodePudding user response:

I just executed this example code -- as shown here:

enter image description here

As you can see, I set a break point and walked through the code which was successful. I use IntelliJ. However, for your issue in Eclipse; did you setup your environment and use the POM that is part of this Git repo here:

https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javav2/example_code/sns

It looks like your environment did not pull in all of the dependencies.

CodePudding user response:

I resolved this problem: The type software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder cannot be resolved. It is indirectly referenced from required .class files by importing this following jar.

I still had issues once that was resolved. I picked through the list of AWS jars that smac2020 provided and finally got it all happy. Here's the final list of jars:

  • Related