Hello,
When starting OFBiz with "ant start", the command console displays many messages. One of them is : [java] 2014-03-05 15:52:40,957 (catalina-startup-1) [ UtilXml.java:1060:ERROR] XmlFileLoader: File file: /C:/Users/Nicolas/Documents/Travail/201402_EI_Compta/OFBiz120402/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml process error. Line: 165. Error message: 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*)". Should I worry about this error ? (I'm using OFBiz 12.04.02, with JDK 1.7 update 51 (64-bits), in a Windows 64-bits environment.) Best regards, Nicolas |
That message can be ignored. It is caused by web.xml elements being in
the wrong sequence. It is an XML validation error. Tomcat will still read and understand the web.xml file though. Adrian Crum Sandglass Software www.sandglass-software.com On 3/5/2014 7:20 AM, Nicolas wrote: > Hello, > > When starting OFBiz with "ant start", the command console displays many > messages. One of them is : > [java] 2014-03-05 15:52:40,957 (catalina-startup-1) [ > UtilXml.java:1060:ERROR] XmlFileLoader: File file: > /C:/Users/Nicolas/Documents/Travail/201402_EI_Compta/OFBiz120402/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml > process error. Line: 165. Error message: 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*)". > > Should I worry about this error ? > > (I'm using OFBiz 12.04.02, with JDK 1.7 update 51 (64-bits), in a Windows > 64-bits environment.) > Best regards, > Nicolas > |
OK. Many thanks.
On Wed, Mar 5, 2014 at 5:07 PM, Adrian Crum < [hidden email]> wrote: > That message can be ignored. It is caused by web.xml elements being in the > wrong sequence. It is an XML validation error. Tomcat will still read and > understand the web.xml file though. > > Adrian Crum > Sandglass Software > www.sandglass-software.com > > > On 3/5/2014 7:20 AM, Nicolas wrote: > >> Hello, >> >> When starting OFBiz with "ant start", the command console displays many >> messages. One of them is : >> [java] 2014-03-05 15:52:40,957 (catalina-startup-1) [ >> UtilXml.java:1060:ERROR] XmlFileLoader: File file: >> /C:/Users/Nicolas/Documents/Travail/201402_EI_Compta/ >> OFBiz120402/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml >> process error. Line: 165. Error message: 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*)". >> >> Should I worry about this error ? >> >> (I'm using OFBiz 12.04.02, with JDK 1.7 update 51 (64-bits), in a Windows >> 64-bits environment.) >> Best regards, >> Nicolas >> >> |
Free forum by Nabble | Edit this page |