Amazon SQS 旧版配置文件格式警告
2022-09-03 18:34:36
我正在将消息发布到 Amazon SQS 队列。启动时,我在日志中收到以下警告。
[http-nio-9090-exec-2][BasicProfileConfigLoader] The legacy profile format
requires the 'profile ' prefix before the profile name. The latest code does
not require such prefix, and will consider it as part of the profile name.
Please remove the prefix if you are seeing this warning.
我正在将以下版本的 Amazon SQS 与 Maven 配合使用:
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-sqs</artifactId>
<version>1.11.125</version>
</dependency>
如何摆脱此警告?