严重: Exception sending context initialized event to listener instance of class
来源:互联网 发布:linux考试试题 编辑:程序博客网 时间:2024/06/05 13:34
严重: Exception sending context initialized event to listener instance of class com.i2f.common.utils.SpringContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'envPropertyWatchdog' defined in class path resource [i2shopping/i2shopping-resources.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.i2f.i2shopping.core.support.EnvPropertyWatchdog]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at com.i2f.common.utils.SpringContextLoaderListener.contextInitialized(SpringContextLoaderListener.java:64)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
这种我所知道的一种解决办法:其实是在初始化bean时的错误,也就是说这个bean类中有错误,例如:在还未生成其内部引用的bean时就调用了这个bean就报出空指针异常了,
- 严重: 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
- Exception sending context initialized event to listener instance of class
- Exception sending context initialized event to listener instance of class
- Exception sending context initialized event to listener instance of class
- 严重: 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
- 严重: 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
- 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.we
- 严重: Exception sending context initialized event to listener instance of class [org.springframework.w
- 严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.
- Android-Universal-Image-Loader 属性设置
- jsp下载文件的实现方法 及 注意
- The Joel Test: 12 Steps to Better Code
- font resize demo
- extjs4 tab 样式修改
- 严重: Exception sending context initialized event to listener instance of class
- 设计模式之迭代器模式
- hdu4618(KMP+动态规划)
- 推荐四款浏览器兼容性测试工具
- 【7gyy】系统能不能自动登录呢?设置方法是什么?
- 内存管理 比较全
- 一起学shell(一):合并文件夹下所有文件
- Object-c学习之路十(NSNumber&NSValue)
- 字符串的最长回文字串