Dependencies 将EJB3加载到JBoss 5.1时出错

Dependencies 将EJB3加载到JBoss 5.1时出错,dependencies,seam,jboss5.x,ear,Dependencies,Seam,Jboss5.x,Ear,我为这个问题绞尽脑汁已经两天了,还是没能把它弄明白。我正在尝试部署一个使用Seam、JSF2的J2EE项目,它是一个EJB3项目。这是我得到的错误: 10:51:56,720 INFO [TomcatDeployment] deploy, ctxPath=/tag 10:51:57,517 INFO [config] Initializing Mojarra (1.2_13-b01-FCS) for context '/tag' 10:52:00,204 INFO [ServletCont

我为这个问题绞尽脑汁已经两天了,还是没能把它弄明白。我正在尝试部署一个使用Seam、JSF2的J2EE项目,它是一个EJB3项目。这是我得到的错误:

10:51:56,720 INFO  [TomcatDeployment] deploy, ctxPath=/tag
10:51:57,517 INFO  [config] Initializing Mojarra (1.2_13-b01-FCS) for context '/tag'
10:52:00,204 INFO  [ServletContextListener] Welcome to Seam 2.0.2-FP
10:52:03,673 WARN  [Component] Component class should be serializable: addressExtendedDataModel
10:52:03,689 WARN  [Component] Component class should be serializable: cbf
10:52:03,689 WARN  [Component] Component class should be serializable: exportBean
10:52:03,689 WARN  [Component] Component class should be serializable: importBean
10:52:03,860 WARN  [Component] Component class should be serializable: volumeBean
10:52:03,860 WARN  [Component] Component class should be serializable: wavePickerBean
10:52:03,970 WARN  [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-    ejb.jar,name=AddressDaoImpl,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressDaoImpl,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB' **")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressDaoImpl,service=EJB3_endpoint" is missing the following dependencies:
   Dependency "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressDaoImpl,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceImpl,service=EJB3" is missing the following dependencies:
   Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceImpl,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/VolumeDaoImpl/local-com.pnc.conversion.tag.dao.VolumeDao' **")
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceImpl,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/AddressDaoImpl/local-com.pnc.conversion.tag.dao.AddressDao' **")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceImpl,service=EJB3_endpoint" is missing the following dependencies:
    Dependency "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceImpl,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceWrapper,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceWrapper,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/AddressServiceImpl/local-com.pnc.conversion.tag.services.AddressService' **")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceWrapper,service=EJB3_endpoint" is missing the following dependencies:
    Dependency "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceWrapper,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceImpl,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceImpl,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/WaveTestingPhaseDaoImpl/local-com.pnc.conversion.tag.dao.WaveTestingPhaseDao' **")
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceImpl,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/TagDaoImpl/local-com.pnc.conversion.tag.dao.TagDao' **")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceImpl,service=EJB3_endpoint" is missing the following dependencies:
    Dependency "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceImpl,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceWrapper,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceWrapper,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/MenuServiceImpl/local-com.pnc.conversion.tag.services.MenuService' **")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceWrapper,service=EJB3_endpoint" is missing the following dependencies:
    Dependency "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceWrapper,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=TagDaoImpl,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=TagDaoImpl,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB' **")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=TagDaoImpl,service=EJB3_endpoint" is missing the following dependencies:
   Dependency "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=TagDaoImpl,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=VolumeDaoImpl,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=VolumeDaoImpl,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB' **")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=VolumeDaoImpl,service=EJB3_endpoint" is missing the following dependencies:
    Dependency "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=VolumeDaoImpl,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=WaveTestingPhaseDaoImpl,service=EJB3" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=WaveTestingPhaseDaoImpl,service=EJB3>" (should be in state "Installed", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB' **")
  Deployment "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=WaveTestingPhaseDaoImpl,service=EJB3_endpoint" is missing the following dependencies:
    Dependency "jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=WaveTestingPhaseDaoImpl,service=EJB3" (should be in state "Installed", but is actually in state "PreInstall")
  Deployment "persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB" is missing the following dependencies:
    Dependency "jboss.jca:name=TagDatasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=TagDatasource,service=DataSourceBinding' **")

DEPLOYMENTS IN ERROR:
  Deployment "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceImpl,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/WaveTestingPhaseDaoImpl/local-com.pnc.conversion.tag.dao.WaveTestingPhaseDao' **, ** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/TagDaoImpl/local-com.pnc.conversion.tag.dao.TagDao' **
  Deployment "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=MenuServiceWrapper,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/MenuServiceImpl/local-com.pnc.conversion.tag.services.MenuService' **
  Deployment "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceImpl,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/AddressDaoImpl/local-com.pnc.conversion.tag.dao.AddressDao' **, ** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/VolumeDaoImpl/local-com.pnc.conversion.tag.dao.VolumeDao' **
  Deployment "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=TagDaoImpl,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB' **
  Deployment "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=VolumeDaoImpl,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB' **
  Deployment "jboss.jca:name=TagDatasource,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=TagDatasource,service=DataSourceBinding' **
  Deployment "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressServiceWrapper,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jndi:TagTestAndCleanUp-ear/AddressServiceImpl/local-com.pnc.conversion.tag.services.AddressService' **
  Deployment "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressDaoImpl,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB' **
  Deployment "<UNKNOWN jboss.j2ee:ear=TagTestAndCleanUp-ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=WaveTestingPhaseDaoImpl,service=EJB3>" is in error due to the following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=TagTestAndCleanUp-ear.ear/TagTestAndCleanUp-ejb.jar#TagEJB' **

    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1008)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:954)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:870)
    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:416)
    at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
    at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
10:51:56720信息[TomcatDeployment]部署,ctxPath=/tag
10:51:57517信息[配置]初始化上下文“/tag”的Mojarra(1.2_13-b01-FCS)
10:52:00204信息[ServletContextListener]欢迎来到Seam 2.0.2-FP
10:52:03673警告[Component]组件类应可序列化:addressExtendedDataModel
10:52:03689警告[Component]组件类应可序列化:cbf
10:52:03689警告[Component]组件类应可序列化:exportBean
10:52:03689警告[Component]组件类应可序列化:importBean
10:52:03860警告[Component]组件类应可序列化:volumeBean
10:52:03860警告[Component]组件类应可序列化:wavePickerBean
10:52:03970警告[HDScanner]无法处理更改
org.jboss.deployers.client.spi.IncompletedDeploymentException:未完成部署的摘要(有关详细信息,请参阅以前的错误):
部署缺少依赖项:
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp-ejb.jar,name=AddressDaoImpl,service=EJB3”缺少以下依赖项:
依赖项“”(应处于“已安装”状态,但实际上处于“**未解决的需求”持久化状态。单位:unitName=TagTestAndCleanUp ear.ear/TagTestAndCleanUp ejb.jar#TagEJB'**”)状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=AddressDaoImpl,service=EJB3_endpoint”缺少以下依赖项:
依赖项“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=AddressDaoImpl,service=EJB3”(应处于“已安装”状态,但实际上处于“预安装”状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=AddressServiceImpl,service=EJB3”缺少以下依赖项:
依赖项“”(应处于“已安装”状态,但实际处于“**未解决的需求'jndi:TagTestAndCleanUp ear/VolumeDaoImpl/local com.pnc.conversion.tag.dao.VolumeDao'**”状态)
依赖项“”(应处于“已安装”状态,但实际处于“**未解决的需求'jndi:TagTestAndCleanUp ear/AddressDaoImpl/local com.pnc.conversion.tag.dao.AddressDao'**”状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=AddressServiceImpl,service=EJB3_endpoint”缺少以下依赖项:
依赖项“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=AddressServiceImpl,service=EJB3”(应处于“已安装”状态,但实际上处于“预安装”状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=AddressServiceWrapper,service=EJB3”缺少以下依赖项:
依赖项“”(应处于“已安装”状态,但实际上处于“未解决的需求”状态“**jndi:TagTestAndCleanUp ear/AddressServiceImpl/local com.pnc.conversion.tag.services.AddressService'**”)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=AddressServiceWrapper,service=EJB3_endpoint”缺少以下依赖项:
依赖项“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=AddressServiceWrapper,service=EJB3”(应处于“已安装”状态,但实际上处于“预安装”状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=MenuServiceImpl,service=EJB3”缺少以下依赖项:
依赖项“”(应处于“已安装”状态,但实际上处于“未解决的需求”状态“**jndi:TagTestAndCleanUp ear/WaveTestingPhaseDaoImpl/local com.pnc.conversion.tag.dao.WaveTestingPhaseDao'**”)
依赖项“”(应处于“已安装”状态,但实际处于“**未解决的需求'jndi:TagTestAndCleanUp ear/TagDaoImpl/local com.pnc.conversion.tag.dao.TagDao'**”状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=MenuServiceImpl,service=EJB3_endpoint”缺少以下依赖项:
依赖项“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=MenuServiceImpl,service=EJB3”(应处于“已安装”状态,但实际上处于“预安装”状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=MenuServiceWrapper,service=EJB3”缺少以下依赖项:
依赖项“”(应处于“已安装”状态,但实际上处于“未解决的需求”状态“**jndi:TagTestAndCleanUp ear/MenuServiceImpl/local com.pnc.conversion.tag.services.MenuService'**”)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=MenuServiceWrapper,service=EJB3_endpoint”缺少以下依赖项:
依赖项“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=MenuServiceWrapper,service=EJB3”(应处于“已安装”状态,但实际上处于“预安装”状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=TagDaoImpl,service=EJB3”缺少以下依赖项:
依赖项“”(应处于“已安装”状态,但实际上处于“**未解决的需求”持久化状态。单位:unitName=TagTestAndCleanUp ear.ear/TagTestAndCleanUp ejb.jar#TagEJB'**”)状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=TagDaoImpl,service=EJB3_endpoint”缺少以下依赖项:
依赖项“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,name=TagDaoImpl,service=EJB3”(应处于“已安装”状态,但实际上处于“预安装”状态)
部署“jboss.j2ee:ear=TagTestAndCleanUp ear.ear,jar=TagTestAndCleanUp ejb.jar,nam