Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2894

build.sh fails with JDK 7u5: NoClassDefFoundError: org/apache/xpath/XPathAPI

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.5.1
    • 2.5
    • None
    • None
    • Crowd 2.5.0
      java version "1.7.0_05"
      Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
      Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

      ./build.sh
      Buildfile: build.xml

      init:

      assistant:
      Changing Tomcat's connector port to ${crowd.tomcat.connector.port}

      BUILD FAILED
      java.lang.NoClassDefFoundError: org/apache/xpath/XPathAPI

      Total time: 0 seconds

          Form Name

            [CWD-2894] build.sh fails with JDK 7u5: NoClassDefFoundError: org/apache/xpath/XPathAPI

            ArvindA added a comment -

            Checked with JDK 1.7 and the build.sh compiles and I am able to bring the server with java 1.7 (on Mac)

            ArvindA added a comment - Checked with JDK 1.7 and the build.sh compiles and I am able to bring the server with java 1.7 (on Mac)

            joe added a comment -

            Replacing apache-tomcat/tools/ant/lib/xmltask-v1.14.jar with the current 1.16 release fixes this. That upgrade will be included in the next release.

            joe added a comment - Replacing apache-tomcat/tools/ant/lib/xmltask-v1.14.jar with the current 1.16 release fixes this. That upgrade will be included in the next release.

              jwalton joe
              e295ca833edf Stefan Reuter
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: