How do I display the Confluence System Classpath?

At times, you may see an error like this:

java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.setFileSizeMax

Cause: The Java classpath has another module (JAR) somewhere that overrides the one shipped with Confluence.

Solution:

  1. Check for duplicate JARs by going to the following URL:

    http://path-to-confluence/admin/classpath.action


    The page lists all modules available to the class loader

  2. Scroll to the bottom of the page to make sure that there are no duplicate JARs, as indicated by the following message:

    "No duplicate class files found in classpath JARs"

Resolve duplicate JARs if necessary.

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport