Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-199

NoClassDefFoundError com.sun.org.apache.xpath.internal.XPathAPI occurs when retrieving admin password for authentication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.0.3, 1.1.2, 2.0.0 M3
    • 1.0.2, 1.1.0, 1.1.1
    • None
    • None

      Because there is the following import on AdminAuthenticateAction:

      import com.sun.org.apache.xpath.internal.XPathAPI
      

      calling the action can throws a NoClassDefFoundError when:

      • the JVM is not from Sun.
      • or when the tomcat distribution is not an official one.

      The solution is to use javax.xml.xpath standard API.

            yabon Sébastien Launay (Inactive)
            yabon Sébastien Launay (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: