当前位置:编程学习 > JAVA >>

JBoss启动报错

09:52:56,454 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/E:/Service/jboss-5.0.1.GA/server/default/deploy/PersonEjb.jar/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying PersonEjb.jar: <injection-target> could not be found: com.foshanshop.ejb3.impl.PersonDaoBean.eb
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:201)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:103)
at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(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:722)
Caused by: java.lang.RuntimeException: <injection-target> could not be found: com.foshanshop.ejb3.impl.PersonDaoBean.eb
at org.jboss.injection.InjectionUtil.findInjectionTarget(InjectionUtil.java:223)
at org.jboss.injection.InjectionUtil.injectionTarget(InjectionUtil.java:299)
at org.jboss.injection.PersistenceContextHandler.loadXml(PersistenceContextHandler.java:64)
at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:588)
at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:415)
at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:523)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:194)
... 22 more
09:52:56,470 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "vfszip:/E:/Service/jboss-5.0.1.GA/server/default/deploy/PersonEjb.jar/" is in error due to the following reason(s): java.lang.RuntimeException: <injection-target> could not be found: com.foshanshop.ejb3.impl.PersonDaoBean.eb
--------------------编程问答-------------------- PersonEjb.jar 包有问题啊

好好看看这句话

Error deploying PersonEjb.jar: <injection-target> could not be found: com.foshanshop.ejb3.impl.PersonDaoBean.eb --------------------编程问答-------------------- 这个不熟,但是 服务器路径中不能包含空格,不像tomcat一样
补充:Java ,  Java相关
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,