java.lang.NoClassDefFoundError: org/dom4j/DocumentException

Stack Overflow | The Coder | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

    Stack Overflow | 2 years ago | The Coder
    java.lang.NoClassDefFoundError: org/dom4j/DocumentException

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/dom4j/DocumentException

      at org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError()
    2. Spring MVC
      DispatcherServlet.triggerAfterCompletionWithError
      1. org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1287)[spring-webmvc-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      1 frame