javamavenamazon-sqs

software.amazon.awssdk for SQS is not showing SqsClient


I'm trying to create a microservice to consume SQS messages and call an API, but after importing in the dependency for SQS via maven

<!-- https://mvnrepository.com/artifact/software.amazon.awssdk/sqs -->
<dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>sqs</artifactId>
    <version>2.30.38</version>
</dependency>

I can't see the SqsClient class being detected as mentioned in this article from baeldung.

Simply it's not showing or auto-suggesting it.

Screenshot:

enter image description here


Solution

  • I did the same as you have shown. SqsClient class is already there in sqs-2.30.38.

    enter image description here

    Also this:

    enter image description here

    Press Ctrl + Space once again to get the auto-suggest to see if it detects it.