Getting Error formatting macro and Error rendering macro Exceptions

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

Getting the following errors on the dashboard, spaces, pages and user profile although the related plugin is enabled and no customization is applied onto Confluence:

  1. Error formatting macro: recently-updated: java.lang.NoClassDefFoundError: com/atlassian/confluence/plugins/macros/advanced/recentupdate/Theme

  2. Error rendering macro 'recently-updated' : com/atlassian/confluence/plugins/macros/advanced/recentupdate/Theme

  3. Error rendering macro 'favpages' : com/atlassian/confluence/plugins/macros/advanced/FavouritePagesMacro$1

Resolution

Clear the content inside <confluence-installation-directory>/temp folder and restart Confluence

ℹ️ Make a backup of <confluence-installation-directory>/temp just in case

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.