[jboss-user] [JBoss Web Services] - version attribute in jboss-web.xml?
Joseph Hwang
do-not-reply at jboss.com
Tue Mar 29 17:40:41 EDT 2011
Joseph Hwang [http://community.jboss.org/people/aupres] created the discussion
"version attribute in jboss-web.xml?"
To view the discussion, visit: http://community.jboss.org/message/596383#596383
--------------------------------------------------------------
I insert jboss-web.xml file in WAR#WEB-INF folder.
File is like belows
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web xmlns=" http://www.jboss.com/xml/ns/javaee http://www.jboss.com/xml/ns/javaee" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://www.jboss.com/xml/ns/javaee http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd" version="5.1">
<context-root>/ws</context-root>
</jboss-web>
But deploy is failed.
The reason is -> org.xml.sax.SAXException: cvc-complex-type.3.2.2: Attribute 'version' is not allowed to appear in element 'jboss-web'.
However I can see the 'version' attribute in <jboss-web> element in http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd file
Pls inform me of your advice. Thanks in advance
Best Regards.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/596383#596383]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110329/b339ddf3/attachment.html
More information about the jboss-user
mailing list