严重: Exception sending context initialized event to listener instance of class [org.springframework.w
来源:互联网 发布:jacs在什么数据库 编辑:程序博客网 时间:2024/06/05 10:25
错误信息
严重: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerAction' defined in class path resource [applicationContext-action.xml]: Cannot resolve reference to bean 'customerService' while setting bean property 'customerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'customerDao' while setting bean property 'customerDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerDao' defined in class path resource [applicationContext-dao.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext-dao.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [applicationContext-dao.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting 'name pattern' at character position 40execution(*com.wds.ssh.service.impl.*.*(..)) ^ at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
错误原因
在配置AOP时,切点表达式出错
解决方法
阅读全文
0 0
- 严重: Exception sending context initialized event to listener instance of class [org.springframework.w
- 严重: Exception sending context initialized event to listener instance of class [org.springframework.w
- 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListe
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- 严重: Exception sending context initialized event to listener instance of class org.springframework...
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- 严重: Exception sending context initialized event to listener instance of class org.springframework.we
- Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
- Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
- Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
- debug: 严重: Exception sending context initialized event to listener instance of class org.springframe
- Exception sending context initialized event to listener instance of class org.springframework.web.ut
- Exception sending context initialized event to listener instance of class org.springframework.web.co
- Visual Studio编译问题整理(缓慢更新中)
- maven学习之从搭建maven环境到在项目中如何使用maven
- Hadoop2.0中HDFS高可用性的实现原理
- shiro安全框架HelloWord入门篇
- JDK8堆内存划分变化
- 严重: Exception sending context initialized event to listener instance of class [org.springframework.w
- 模板基础知识1——《C++程序设计语言(第四版)》第23章 模板 笔记
- leetcode 547. Friend Circles 寻找图的环的数量 + 深度优先遍历DFS
- 什么是OGNL表达式
- The number of divisors(约数) about Humble Numbers
- URI is not registered ( Setting | Project Settings | Schemas and DTDs )
- 机房重构
- 机房收费系统——登录
- Biorhythms 笔记