SSH Integration Context:component-scan Package name write * No: Failed to parse Configuration class [ Org.springframework.cache.aspectj.AspectJJCacheConfiguration]

Source: Internet
Author: User

1234 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 exist03-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: classpath resource [org/springframework/cache/jcache/config/AbstractJCacheConfiguration.class] cannot be opened because it does not exist




The damn low-level mistake caused ... When using the Context:component-scan scan package, write an asterisk to go in,


This is the reason for the mistake.

Write a messy folder name is good, write an asterisk, will be finished.



From for notes (Wiz)

SSH Integration Context:component-scan Package name write * No: Failed to parse Configuration class [ Org.springframework.cache.aspectj.AspectJJCacheConfiguration]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.