1

我有一个标有@Depends 的MDB,使它依赖于我的战争,当我将应用程序部署到服务器时它工作正常,但是当我尝试运行我的测试时,测试失败......由于一些错误的配置而导致接缝......有什么提示可以解决这个问题吗?我猜嵌入式 jboss 以某种不同的方式处理这个问题?

我使用:接缝 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/ **}
4

0 回答 0