dcsimg
I'm getting a error message I run XDoclet (The new version 1.2.3). What's the problem?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Francisco_Azevedo
Posted On:   Tuesday, June 20, 2006 03:00 PM

Hello everyone, I,m tring to generate my dd whith the new XDoclet(1.2.3), but when I'll go to generate the web.xml I get the error below, but when I generate it whith the version (1.2.1) this works fine. Wha is this ? :::::> web.xml Jun 20, 2006 4:52:06 PM xdoclet.XDocletMain start INFO: Running Generating web.xml. Jun 20, 2006 4:52:07 PM xdoclet.XDocletMain start SEVERE: Running XDoclet failed. Jun 20, 2006 4:52:07 PM xdoclet.XDocletMain start SEVERE: < > org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*   More>>

Hello everyone,


I,m tring to generate my dd whith the new XDoclet(1.2.3), but when I'll go to generate the web.xml I get the error below, but when I generate it whith the version (1.2.1) this works fine. Wha is this ?


:::::> web.xml
Jun 20, 2006 4:52:06 PM xdoclet.XDocletMain start
INFO: Running
Generating web.xml.
Jun 20, 2006 4:52:07 PM xdoclet.XDocletMain start
SEVERE: Running XDoclet failed.
Jun 20, 2006 4:52:07 PM xdoclet.XDocletMain start
SEVERE: < >
org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2048)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)

   <<Less
About | Sitemap | Contact