当前位置: 代码迷 >> JBoss >> 今天用JBOSS5.1的时候出现下面的异常,不知道如何解决
  详细解决方案

今天用JBOSS5.1的时候出现下面的异常,不知道如何解决

热度:10290   发布时间:2013-02-26 00:00:00.0
今天用JBOSS5.1的时候出现下面的错误,不知道怎么解决!
Java code
11:53:33,953 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment for: AbstractKernelDeployment@165547d{name=file:/F:/opt/modules/jboss-5.1.0.GA/server/default/conf/bootstrap/logging.xml installed=true beanFactories=[AbstractBeanMetaData@18ddc48{name=LogBridgeHandler bean=org.jboss.logbridge.LogBridgeHandler properties= constructor=null autowireCandidate=true}]}org.jboss.deployers.spi.DeploymentException: Error deploying: file:/F:/opt/modules/jboss-5.1.0.GA/server/default/conf/bootstrap/logging.xml    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:433)    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:250)    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)    at org.jboss.Main.boot(Main.java:221)    at org.jboss.Main$1.run(Main.java:556)    at java.lang.Thread.run(Thread.java:619)Caused by: java.lang.IllegalStateException: ClassLoader has not been set    at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)    ... 6 more


------解决方案--------------------------------------------------------
这个问题好像是已知的issue
https://jira.jboss.org/jira/browse/JBAS-6998