2
Amazon SQSキューにメッセージを投稿しています。起動時に、ログに次の警告が表示されます。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.
私はMavenを持つアマゾンSQSの以下のバージョンを使用しています:私はこの警告を取り除くことができますどのように
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-sqs</artifactId>
<version>1.11.125</version>
</dependency>
を?
をこれが問題を解決しました。 aws設定ファイルから "profile"という単語を削除すると、ログから警告が削除されました。私のWindows 10マシンでは、awsの設定はC:\ Users \ MyName \ .aws \ configにありました。 –