zoukankan      html  css  js  c++  java
  • ssh整合context:component-scan包名写了*号:Failed to parse configuration class [org.springframework.cache.aspectj.AspectJJCacheConfiguration]

    1
    2
    3
    4
    03-Apr-2016 00:27:57.154 WARNING [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.context.support.XmlWebApplicationContext.refresh Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [org.springframework.cache.aspectj.AspectJJCacheConfiguration]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/cache/jcache/config/AbstractJCacheConfiguration.class] cannot be opened because it does not exist
    03-Apr-2016 00:27:57.166 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed
     org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [org.springframework.cache.aspectj.AspectJJCacheConfiguration]; nested exception is java.io.FileNotFoundException: class path resource [org/springframework/cache/jcache/config/AbstractJCacheConfiguration.class] cannot be opened because it does not exist
        at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:182)



    1
    Failed to parse configuration class [org.springframework.cache.aspectj.AspectJJCacheConfiguration]



    1
    Caused by: java.io.FileNotFoundException: class path resource [org/springframework/cache/jcache/config/AbstractJCacheConfiguration.class] cannot be opened because it does not exist




    他妈的低级错误造成的.......在使用context:component-scan 扫描包的时候,写了一个星号进去,    


    这就是错误的原因。

    写什么乱七八糟的文件夹名都好,写星号,就完蛋。 





  • 相关阅读:
    android 生命周期图
    c++中 箭头> 双冒号:: 点号.操作符区别
    Blocks 笔记
    使用AVAudioRecorder 录音
    音频输入大小变化图
    【Linux】本机与服务器文件互传、Linux服务器文件上传下载
    【Oracle】Oracle解锁、Oracle锁表处理
    使用three.js创建3D机房模型分享一
    WPF下递归生成树形数据绑定到TreeView上
    (转载)C++抽象工厂模式(大话设计模式)
  • 原文地址:https://www.cnblogs.com/share2015/p/5348709.html
Copyright © 2011-2022 走看看