您的位置:首页 > 编程语言 > Java开发

又犯了一个超级傻逼的错误,真丢人啊

2016-10-13 13:56 253 查看
企信通diy09版服务端安装后一直报错

2016-10-13 11:18:24 org.apache.catalina.core.ApplicationContext log

信息: Initializing Spring root WebApplicationContext

2016-10-13 11:18:26 org.apache.catalina.core.StandardContext listenerStart

严重: 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 ‘cacheService’ defined in class path resource [spring/applicationContext_cache.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1486)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)

at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)

因为这是打包好的程序,肯定是没错的,一直搞不清楚咋回事,弄了一上午突然发现,tomcat路径有中文

我也是醉了,因为这个是一直解压出来的程序,没注意到上层文件夹是中文,就烦了这个傻逼的错误,真是丢人啊
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  spring