开发者

Getting a "WELD-001408 Unsatisfied dependencies error when deploying a class injected with an interface"

I'm doing some unit tests using 开发者_JAVA百科Arquillian on JUnit4 and Jboss6. There is a facade(SomeFacadeclass) that has the "SomeClass"(which is an interface) injected to it. When Arquillian deploys the test.war for testing the above deployment error pops up. What should i do to solve this?


I would guess that you don't have an implementation of SomeClass in your bean archives


Everything was solved. I added the implementation class to the @Deployment archive and some other bunch of dependent classes things work fine now.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜