Him I tried to delete the line as well as to mimic as much as possible the sample context xml, but still no result. For now I will "upgrade" the sample to make it closer to my setup until it breaks, it should help me to find my mistake. I'll get back to you next week with the result.
Thanks for your help, Philippe D. On Tuesday 21 May 2013 at 18:00, Harald Wellmann wrote: > Have you tried running the Spring-Hibernate sample from the Shiro source > repository? The Hibernate part is probably not relevant to your use > case, but the Spring configuration might help you. > > This sample does NOT use AspectJ, and that may be the reason why your > setup doesn't work. > > In other words, Spring and Shiro do support AspectJ but don't require > it, so unless your own application relies on AspectJ, I'd say you're > better off without it. > > Can you try deleting > > <aop:aspectj-autoproxy proxy-target-class="true" /> > > from your Spring context? > > The DefaultAdvisorAutoProxyCreator bean should be sufficient to create > proxies and advice for your Shiro annotations. > > Best regards, > Harald > >