Email Notifications no Longer Work After Adding Mime.Types

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

要約

When clicking on the Share button or when mentioning a user in a comment or article nothing happens. The user also doesn't receive notifications.

環境

Confluence Server および Data Center

診断

The following error appears in the atlassian-confluence.log:

2016-03-21 16:23:38,596 ERROR [NotificationSender:thread-3] [plugin.notifications.dispatcher.NotificationErrorRegistryImpl] addError Error sending notification to server '<Unknown>'(-1) for INDIVIDUAL task (resent 1 times): Unknown error 'Could not initialize class com.atlassian.confluence.mail.template.MultipartBuilder' sending a notification.
NoClassDefFoundError: Could not initialize class com.atlassian.confluence.mail.template.MultipartBuilder

原因

It can happen when you add a mime.type to the atlassian/confluence/confluence/WEB-INF/classes/mime.types file of the Confluence instance.

Solution (workaround)

  1. Shutdown Confluence
  2. Remove the line that you added to the mime.types file.
  3. Start Confluence

(info) If you need to access the original mime.types file, you can download the .tar.gz or .zip files of your Confluence version (see https://www.atlassian.com/software/confluence/download-archives) and locate the file on the path indicated above.

最終更新日: 2023 年 1 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.