zoukankan      html  css  js  c++  java
  • Spring环境搭建错误


    1,cvc-complex-type.2.4.c

    此错误是因为导使用jar包都是spring 4.0的jar包,但是配置文件引入的xsd文件版本不对,或者少引入了xsd文件导致。




    2,
    Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'juggler' defined in class path resource [chp04/aop/spring.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Cannot create inner bean '(inner bean)' of type [org.springframework.aop.aspectj.AspectJMethodBeforeAdvice] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot create inner bean '(inner bean)' of type [org.springframework.aop.aspectj.AspectJExpressionPointcut] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#2': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutDesignatorHandler
    主要错误信息为两点:
    BeanPostProcessor before instantiation of bean failed
    Cannot create inner bean '(inner bean)' of type
    这种错误是缺少jar包:aspectjrt.jar、aspectjweaver.jar
    两个jar包。















    欢迎转载,但转载请注明原文链接[博客园: http://www.cnblogs.com/jingLongJun/]
    [CSDN博客:http://blog.csdn.net/mergades]。
    如相关博文涉及到版权问题,请联系本人。
  • 相关阅读:
    dataGridView 滚动条 同步
    TextBox 只读
    grid 数据绑定后
    iframe 跳转问题
    TextBox 不可编辑
    C# 添加Excel 批注、如何在Excel的单元格里面增加批注
    dataSet 比较
    sql 游标、sql server 游标使用、实例
    Tab键
    计算文本框的字算、计算TextBox的字数长度
  • 原文地址:https://www.cnblogs.com/jingLongJun/p/4491064.html
Copyright © 2011-2022 走看看