Re: Ask about 'Failed to load ApplicationContext' in unit tests during maven building

2013-12-03 Thread Daan Hoogland
On Mon, Dec 2, 2013 at 5:26 PM, Alex Ough wrote: > can you give me some light on this? I hope so Alex, In general I would advice to minimize the use of dao's if there is a manager for the type of object; i.e. do your coding inside AccountMgr and call its methods instead of calling dao's > Basi

Re: Ask about 'Failed to load ApplicationContext' in unit tests during maven building

2013-12-02 Thread Alex Ough
Thank Daan for your reply, but it looks like the issue is not in the test program, but during initializing the application itself because the failing test does not reference 'ActionEventInterceptor' class. I have really hard time to figure this out because I just added '@Inject private AccountDao

Re: Ask about 'Failed to load ApplicationContext' in unit tests during maven building

2013-11-28 Thread Daan Hoogland
H Alex, I suppose you are no longer struggling with this but just in case; check which context xml is loaded in your test and make sure the appropriate classes are defined in that file. The tests don't necessarily load all the definitions. regards, Daan On Tue, Nov 19, 2013 at 10:38 PM, Alex Oug