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:
I did the same as you have shown. SqsClient
class is already there in sqs-2.30.38
.
Also this:
Press Ctrl
+ Space
once again to get the auto-suggest to see if it detects it.