SMTP エラー「javax.mail.NoSuchProviderException」が原因でメールを送信できない
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
When Confluence tries to send mail, a "javax.mail.NoSuchProviderException: smtp" error is thrown.
原因
Two different versions of Sun's Javamail libraries are in the application classpath. When Confluence tries to send an email, Java gets confused as to which version of the library it should be using.
ソリューション
If (and only if) you are encountering this error, remove the javamail-x.jar and activation-1.x.jar files from the confluence/WEB-INF/lib directory of your Confluence installation, then restart Confluence.
この内容はお役に立ちましたか?