Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

velocity problem with jetty 6.1.1

alex xander

2007-08-06


i run my application with tomcat 6.x or jboss 4.x
it's work fine.
i'm use struts 2.0.8
but when i test with jetty 6.1.1
there is some velocity problem.
the applcation run ok, but there is error message in my console
here is the error

[ERROR] Digester - Parse Fatal Error at line 1 column 1: Content is not allowed
in prolog. <org.xml.sax.SAXParseException: Content is not allowed in prolog.>org
.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispat
ch(Unknown Source)

can anyone help me??

   
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
©2008 junlu.com - Jax Systems, LLC, U.S.A.