[jboss-user] [Beginner's Corner] - Re: DeploymentExeption in jboss 5.1
mike tihonchik
do-not-reply at jboss.com
Tue Feb 1 12:23:03 EST 2011
mike tihonchik [http://community.jboss.org/people/mike.tihonchik] created the discussion
"Re: DeploymentExeption in jboss 5.1"
To view the discussion, visit: http://community.jboss.org/message/584687#584687
--------------------------------------------------------------
ok, little progress.
I used web-app declaration for 2.4
<web-app version="2.4" xmlns=" http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
and got different error in the log:
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: cvc-complex-type.2.4.a: Invalid content was fo
und starting with element 'display-name'. One of '{" http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee":servlet-class, " http://java.sun.com http://java.sun.com
/xml/ns/j2ee":jsp-file}' is expected. @ vfsfile:/C:/dev/datatrak/branches/eae_rebase/deploy/datatrak.ear/abcfs.war/WEB-I
NF/web.xml[81,21]
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:
304)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:
286)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:203)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDepl
oyerWithOutput.java:348)
... 34 more
Caused by: org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-na
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/584687#584687]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110201/f661bbe9/attachment-0001.html
More information about the jboss-user
mailing list