除了
还要配置:
此外,tomcat-5.5不支持@PostConstruct,要tomcat-6.0以上版本
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation=“http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"
还要配置:
xmlns:aop="http://www.springframework.org/schema/aop"
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
此外,tomcat-5.5不支持@PostConstruct,要tomcat-6.0以上版本