问题
I'm doing some unit tests using 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?
回答1:
I would guess that you don't have an implementation of SomeClass
in your bean archives
回答2:
Everything was solved. I added the implementation class to the @Deployment archive and some other bunch of dependent classes things work fine now.
来源:https://stackoverflow.com/questions/6058274/getting-a-weld-001408-unsatisfied-dependencies-error-when-deploying-a-class-inj