'java.lang.NoClassDefFoundError WikiStyleRenderer' after Confluence Upgrade Due to Bundled Pagetree Plugin

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After a Confluence upgrade, pages containing the {pagetree} macro do not render. The following appears in the atlassian-confluence.log:


javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)

caused by: java.lang.NoClassDefFoundError: com/atlassian/confluence/renderer/WikiStyleRenderer
at java.lang.Class.getDeclaredMethods0(Native Method)

This may also happen when user creates a new space, since the default homepage content contains a {pagetree} macro.

Cause

Since Confluence 2.9.2, the Confluence PageTree Plugin is bundled with Confluence. Confluence does not replace or upgrade the existing Page Tree plugin due to different plugin key. This results in duplicates of Page Tree plugin, as seen in the Plugin Manager.

Resolution

Uninstall the older version of the Page Tree plugin (bnpparibas.confluence.pagetree). See Removing Malfunctioning Plugins if you're having trouble removing the old plugin.


Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.