You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org> on 2008/10/28 04:39:44 UTC

[jira] Created: (VELOCITY-641) XMLApp example broken

XMLApp example broken
---------------------

                 Key: VELOCITY-641
                 URL: https://issues.apache.org/jira/browse/VELOCITY-641
             Project: Velocity
          Issue Type: Bug
          Components: Build
            Reporter: Will Glass-Husain
            Priority: Minor
             Fix For: 1.6


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


[jira] Resolved: (VELOCITY-641) XMLApp example broken

Posted by "Nathan Bubna (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna resolved VELOCITY-641.
-----------------------------------

    Resolution: Fixed

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

> XMLApp example broken
> ---------------------
>
>                 Key: VELOCITY-641
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-641
>             Project: Velocity
>          Issue Type: Bug
>          Components: Build
>            Reporter: Will Glass-Husain
>            Priority: Minor
>             Fix For: 1.6
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org