Exporting a page to word doesn't work after Confluence upgrade
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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.
*Except Fisheye and Crucible
Symptoms
Exporting a Confluence page to word doesn't work after Confluence upgrade; it downloads the pages to HTML format instead due to .doc
and .docx
file formats are not supported.
The following appears in the atlassian-confluence.log
:
1
2
20XX-XX-XX XX:XX:XX,XXX ERROR [http-80-17] [[Standalone].[localhost].[/].[exportword]] log Servlet.service() for servlet exportword threw exception
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related;
Cause
Confluence is using incompatible Java version.
Resolution
Stop Confluence
Make sure Confluence is using supported Java version (Check for Confluence Supported Platform)
ℹ️ Earlier versions of Confluence use Java version
1.6.x
while Confluence 5.x and above use Java version1.7.x
Make sure
java.library.path
points to the corresponding Java version.ℹ️ It is possible that users's Java version don't correspond to
java.library.path
, which can caused the issue to happenStart Confluence
Was this helpful?