51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2432|回复: 1
打印 上一主题 下一主题

[求助] jboss 把项目加载进去就报错,可以访问jboss主页

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-12-8 12:30:03 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
12:11:29,390 ERROR [AbstractKernelController] Error installing to Parse: name=vf

sfile:/E:/jboss-5.0.0.GA/server/default/deploy/JC.war/ state=Not Installed mode=

Manual requiredState=Parse

org.jboss.deployers.spi.DeploymentException: Error creating managed object for v

fsfile:/E:/jboss-5.0.0.GA/server/default/deploy/JC.war/

        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept

ion(DeploymentException.java:49)

        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO

utput.createMetaData(AbstractParsingDeployerWithOutput.java:337)

        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO

utput.createMetaData(AbstractParsingDeployerWithOutput.java:297)

        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO

utput.createMetaData(AbstractParsingDeployerWithOutput.java:269)

        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO

utput.deploy(AbstractParsingDeployerWithOutput.java:230)

        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer

Wrapper.java:171)

        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer

sImpl.java:1439)

        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi

rst(DeployersImpl.java:1157)

        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers

Impl.java:1098)

        at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra

ctControllerContext.java:348)

        at org.jboss.dependency.plugins.AbstractController.install(AbstractContr

oller.java:1598)

        at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra

ctController.java:934)

        at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr

actController.java:1062)

        at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr

actController.java:984)

        at org.jboss.dependency.plugins.AbstractController.change(AbstractContro

ller.java:822)

        at org.jboss.dependency.plugins.AbstractController.change(AbstractContro

ller.java:553)

        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers

Impl.java:781)

        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye

rImpl.java:545)

        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr

ofile(ProfileServiceBootstrap.java:304)

        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(

ProfileServiceBootstrap.java:205)

        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:

405)

        at org.jboss.Main.boot(Main.java:209)

        at org.jboss.Main$1.run(Main.java:547)

        at java.lang.Thread.run(Thread.java:619)

Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed

to parse schema for nsURI=http://java.sun.com/xml/ns/javaee, baseURI=null, sche

maLocation=http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd

        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars

er.java:203)

        at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java

:168)

        at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBos

sXBDeployerHelper.java:199)

        at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBos

sXBDeployerHelper.java:170)

        at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sch

emaResolverDeployer.java:132)

        at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(Sch

emaResolverDeployer.java:118)

        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse

AndInit(AbstractVFSParsingDeployer.java:256)

        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse

(AbstractVFSParsingDeployer.java:188)

        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithO

utput.createMetaData(AbstractParsingDeployerWithOutput.java:323)

        ... 22 more

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema

for nsURI=http://java.sun.com/xml/ns/javaee, baseURI=null, schemaLocation=http:/

/java.sun.com/xml/ns/javaee/web-app_3_0.xsd

        at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resol

ve(DefaultSchemaResolver.java:340)

        at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startE

lement(SundayContentHandler.java:306)

        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHan

dler.startElement(SaxJBossXBParser.java:401)

        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour

ce)

        at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou

rce)

        at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Sourc

e)

        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn

own Source)

        at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s

canRootElementHook(Unknown Source)

        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent

Dispatcher.dispatch(Unknown Source)

        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un

known Source)

        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour

ce)

        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars

er.java:199)

        ... 30 more

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 5:25 s4s-elt-char

acter: Non-whitespace characters are not allowed in schema elements other than '

xs:appinfo' and 'xs:documentation'. Saw 'var _U = "undefined";'.

        at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHa

ndler.handleError(XsdBinderTerminatingErrorHandler.java:40)

        at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown

Source)

        at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source)

        at org.jboss.xb.binding.Util.loadSchema(Util.java:395)

        at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.ja

va:175)

        at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.ja

va:146)

        at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resol

ve(DefaultSchemaResolver.java:332)

        ... 45 more
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2012-12-11 08:41:55 | 只看该作者
LZ能否描述一下环境及问题啊,上来就是一段代码,有点蒙啊---------
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-23 03:58 , Processed in 0.076283 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表