在搭建spring项目时通常需要这些jar包 commons-logging-1.1.3.jar spring-aop-4.0.6.RELEASE.jar spring-beans-4.0.6.RELEASE.jar spring-context-4.0.6.RELEASE.jar spring-core-4.0.6.RELEASE.jar spring-expression-4.0.6.RELEASE.jar 在使用spring额外功能时 1 需要在xml文件中加入命名空间 可以在spring-framework-4.0.6.RELEASE\docs\spring-framework-reference\html 中搜索关键字查找配置 2 加入需要的jar包(依赖包) 由于没有引入 spring-aop-4.0.6.RELEASE.jar 引起的错误 org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop] Offending resource: class path resource [beans.xml] at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:70) 由于缺少依赖包 aspectjweaver-1.6.12.jar http://search.maven.org/remotecontent?filepath=org/aspectj/aspectjweaver/1.6.12/aspectjweaver-1.6.12.jar org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.config.internalAutoProxyCreator': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/aspectj/lang/annotation/Around 由于缺少依赖包 aopalliance-1.0.jar org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.config.internalAutoProxyCreator': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor































- 陈乃龙2015-01-15挺好的,都看看吧
- 一码浓2016-02-08我在网上找了很多关于这个AOP配置信息错误,主要是因为 没有导入正确 的jar包 ,这个jar可以用。谢谢!

- 粉丝: 10
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 心理健康网络安全教育主题班会教学设计模板.docx
- 校园网络的设计与规划开题报告.doc
- 机械CADCAM数据处理技术.ppt
- 2023年计算机等级考试一级复习资料有答案.doc
- 金蝶软件编制现金流量表.doc
- 运筹学第三之图与网络分析.pptx
- 农机信息化管理系统.doc
- 有限公司办公楼综合布线及机房建设实施方案.doc
- 如何策划网络广告样本.doc
- 机器人的学习研究进展:深度学习及应用.ppt
- 网络营销外推培训课件.ppt
- 综合布线系统验收方案.doc
- 李立高-通信工程概预算参考答案系列第三部分.doc
- 2023年江苏专转本计算机真题含答案.doc
- 如何为装有还原卡的清华同方计算机重装系统?.doc
- 网络购物的影响-网络购物对生活有什么影响呢?.docx


