Hi all,

I'm using Appfuse with JSF framework and I got an error (below). I think I
should config some think about autowire, autowire-candidate, ... in my
applicationContext.xml file to figure it out but I don't know how. Can you
give me some advices?

==================================================================

Running com.giavaviet.app.webapp.action.PersonListTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.056 sec
<<< FAILURE!
testSearch(com.giavaviet.app.webapp.action.PersonListTest)  Time elapsed:
0.041 sec  <<< ERROR!
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'com.giavaviet.app.webapp.action.PersonListTest':
Unsatisfied dependency expressed through bean property 'personManager':
There are 3 beans of type [org.appfuse.service.GenericManager] available for
autowiring by type: [quanManager, phuongManager, personManager]. There
should have been exactly 1 to be able to autowire property 'personManager'
of bean 'com.giavaviet.app.webapp.action.PersonListTest'. Consider using
autowiring by name instead.

================================================================

Thanks,
Binh Pham
-- 
View this message in context: 
http://www.nabble.com/Have-problem-with-autowire-tf4484940s2369.html#a12789644
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to