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.
精彩评论