AWS SQS: java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonMerge?
问题 I am trying to a message to SQS in my Java code as follows: public void pushToSQS(){ String queueURL = "https://sqs.us-east-1.amazonaws.com/205135634997/myQueue.fifo"; try { final AmazonSQS sqs = AmazonSQSClientBuilder.defaultClient(); sqs.sendMessage(new SendMessageRequest(queueURL, "test message")); } catch (final AmazonServiceException e) { log.error("Error: " + e.getMessage()); } } However at line: final AmazonSQS sqs = AmazonSQSClientBuilder.defaultClient(); I get the error: java.lang