Details
-
Question
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.2
-
SpingMVC + Mybatis + Sitemesh
Description
I want to enable shiro annotations support,so i config it like the suggestion at "http://shiro.apache.org/spring.html#Spring-WebApplications" .
Some code as follow:
<bean class="org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator" depends-on="lifecycleBeanPostProcessor"/>
<bean class="org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor">
<property name="securityManager" ref="securityManager"/>
</bean>
But,when i put these code into my applicationContext.xml,some controller can't be found,and the application take me to the 404 page.It will be solved as remove these code.
So,why?