使用@Depends运行时,seam测试失败

时间:2010-08-17 10:59:03

标签: unit-testing jboss seam message-driven-bean depends

我有一个标有@Depends的MDB使它依赖于我的战争,当我将应用程序部署到服务器时它工作正常,但是当我尝试运行我的测试时,测试失败...接缝因为一些错误的配置...任何解决这个问题的提示?我想嵌入式jboss以某种不同的方式处理它?<​​/ p>

我使用:seam 2.2.1 jboss 5.1 testNG

运行测试时的错误:

FAILED CONFIGURATION: @BeforeSuite startSeam
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}

jboss.j2ee:jar=classes,name=DlqHandler,service=EJB3
 -> <UNKNOWN>{Described:** UNRESOLVED Demands 'jboss.web.deployment:war=convert_it/ **}

jboss.j2ee:jar=classes,name=ImageConverterMDB,service=EJB3
 -> <UNKNOWN>{Described:** UNRESOLVED Demands 'jboss.web.deployment:war=convert_it/ **}

jboss.j2ee:jar=classes,name=VideoConverterMDB,service=EJB3
 -> <UNKNOWN>{Described:** UNRESOLVED Demands 'jboss.web.deployment:war=convert_it/ **}

0 个答案:

没有答案