-
0c446ba9 :stokesia
2005-06-18 23:09
-
今、Jetty 4.2.24で十六夜を試しています。Jettyに必要な設定をして、そのままデ
プロイをしました。しかし、起動時にXMLのパースエラーが出ます。
org.mortbay.util.MultiException[org.xml.sax.SAXParseException: The content of
element type "web-app" must match "(icon?,display-name?,description?,distribut
able?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mappin
g*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resour
ce-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,en
v-entry*,ejb-ref*,ejb-local-ref*)".]
at org.mortbay.http.HttpServer.start(HttpServer.java:640)
at org.mortbay.jetty.Server.main(Server.java:429)
[0]=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-mappi
ng*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,sec
urity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-r
ef*)".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(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.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:162)
at org.mortbay.xml.XmlParser.parse(XmlParser.java:180)
at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:403)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
NetBeans4.1でweb.xmlのバリデーションチェックをしてもエラーが出ます。
環境はVine Linux 2.1 J2SDK 1.4.2_06です。
Powered by shinGETsu.