Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: Build
    • Labels:
      None

      Description

      The XML app example doesn't work. I'm a little confused – is Xerces supposed to be in the classpath?
      (JDK 1.5 / ant 1.7)

      \velocity-1.6-beta2\build>ant examples

      \velocity-1.6-beta2\examples\xmlapp_example>xmlapp_example.bat

      Using classpath: .;..\..\bin\velocity-1.6-beta2.jar;..\..\bin\lib\antlr-2.7.5.jar;..\..\bin\lib\avalon-logkit-2.1.jar;..\..\bin\l
      ib\commons-collections-3.2.1.jar;..\..\bin\lib\commons-lang-2.4.jar;..\..\bin\lib\commons-logging-1.1.jar;..\..\bin\lib\jdom-1.0.j
      ar;..\..\bin\lib\log4j-1.2.12.jar;..\..\bin\lib\maven-ant-tasks-2.0.9.jar;..\..\bin\lib\oro-2.0.8.jar;..\..\bin\lib\servletapi-2.3
      .jar;..\..\bin\lib\werken-xpath-0.9.4.jar
      Exception building Document : org.jdom.JDOMException: Could not load org.apache.xerces.parsers.SAXParser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: org.apache.xerces.parsers.SAXParser

        Activity

        Will Glass-Husain created issue -
        Hide
        Nathan Bubna added a comment -

        Works for me now with Java 1.6. I just changed it to let JDOM pick the SAX parser.

        Show
        Nathan Bubna added a comment - Works for me now with Java 1.6. I just changed it to let JDOM pick the SAX parser.
        Nathan Bubna made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12445128 ] Default workflow, editable Closed status [ 12551577 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551577 ] jira [ 12552463 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Will Glass-Husain
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development