spring学习
Carlyle_XP
潇屁孩
展开
-
spring 配置 <aop:aspectj-autoproxy expose-proxy=""/>
proxy-target-class="false" 默认为false,表示使用jdk的动态代理proxy-target-class="true" 为true时,表示使用CGLib动态代理技术来实现增强处理。原创 2017-03-28 17:24:48 · 4480 阅读 · 0 评论 -
maven 项目启动异常java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
今天使用maven整合spring项目的时候,使用Tomcat启动项目就报错java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener1,可能的情况是spring-web.jar没有导入到项目中,或者项目jar冲突问题。2,另外的一种情况就是不小心remove掉了Mave原创 2017-03-30 11:32:11 · 431 阅读 · 0 评论