主题 : 安装jeebbs出错,请指教
级别: 童生
UID: 142
积分:20 加为好友
威望: 0 精华: 0
主题:2 回复:6
注册时间:2009-06-16
在线时长:0
1#   发表于:2010-04-08 13:40:04  IP:218.149.*.*
刚才安装jeebbs出错,错误如下:

2010-4-8 13:32:03 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.5.0_10\bin;D:\Program Files\Apache Software Foundation\Tomcat *\bin
2010-4-8 13:32:04 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2010-4-8 13:32:04 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2156 ms
2010-4-8 13:32:04 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-4-8 13:32:04 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/*.23
2010-4-8 13:32:04 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2010-4-8 13:33:40 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2010-4-8 13:33:40 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-4-8 13:33:40 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/32  config=null
2010-4-8 13:33:40 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2010-4-8 13:33:40 org.apache.catalina.startup.Catalina start
信息: Server startup in 96636 ms
2010-4-8 13:37:02 org.apache.catalina.startup.HostConfig checkResources
信息: Reloading context [/jeebbs]
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.
2010-04-08 01:37 INFO  c.j.b.c.BbsForumCacheSvcImpl - 系统启动,设置论坛板块BbsForum缓存
2010-04-08 01:37 INFO  c.j.b.c.BbsGlobalCacheSvcImpl - 系统启动,设置论坛全局BbsConfig缓存
2010-04-08 01:37 INFO  c.j.b.c.BbsTopicCacheSvcImpl - 系统启动,设置论坛主题BbsTopic缓存
2010-04-08 01:37 DEBUG c.j.b.c.BbsMemberCacheSvcImpl - 系统启动,设置论坛会员BbsMember缓存
2010-04-08 01:37 INFO  c.j.c.w.ApplicationListener - 系统启动,读取所有站点信息到缓存。
2010-04-08 01:37 ERROR o.a.c.c.C.[.[.[/jeebbs] - Exception sending context initialized event to listener instance of class com.jeecms.core.web.ApplicationListener
java.lang.NullPointerException
at com.jeecms.core.manager.impl.WebsiteMngImpl.loadAllWebsiteToCache(WebsiteMngImpl.java:94) [jeebbs_1_0_beta.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_10]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_10]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_10]
at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_10]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6]
at $Proxy50.loadAllWebsiteToCache(Unknown Source) [na:na]
at com.jeecms.core.web.ApplicationListener.contextInitialized(ApplicationListener.java:26) [jeebbs_1_0_beta.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) [catalina.jar:na]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) [catalina.jar:na]
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105) [catalina.jar:na]
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203) [catalina.jar:na]
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293) [catalina.jar:na]
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) [catalina.jar:na]
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306) [catalina.jar:na]
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570) [catalina.jar:na]
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) [catalina.jar:na]
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559) [catalina.jar:na]
at java.lang.Thread.run(Thread.java:595) [na:1.5.0_10]
2010-4-8 13:37:19 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2010-4-8 13:37:19 org.apache.catalina.core.StandardContext start
严重: Context [/jeebbs] startup failed due to previous errors
2010-04-08 01:37 INFO  c.j.b.c.BbsForumCacheSvcImpl - 系统关闭,论坛板块BbsForum缓存入库
2010-04-08 01:37 INFO  c.j.b.c.BbsForumCacheSvcImpl - clear cache. isAll:true
2010-04-08 01:37 INFO  c.j.b.c.BbsForumCacheSvcImpl - clear 0 counts,remain 0 counts
2010-04-08 01:37 INFO  c.j.b.c.BbsGlobalCacheSvcImpl - 系统关闭,论坛全局BbsConfig缓存入库
2010-04-08 01:37 INFO  c.j.b.c.BbsGlobalCacheSvcImpl - clear cache.
2010-04-08 01:37 INFO  c.j.b.c.BbsTopicCacheSvcImpl - 系统关闭,论坛主题BbsTopic缓存入库
2010-04-08 01:37 INFO  c.j.b.c.BbsTopicCacheSvcImpl - bbsTopic clear cache.
2010-04-08 01:37 INFO  c.j.b.c.BbsTopicCacheSvcImpl - clear all 0 counts
2010-04-08 01:37 DEBUG c.j.b.c.BbsMemberCacheSvcImpl - 系统关闭,论坛会员BbsMember缓存入库
2010-04-08 01:37 INFO  c.j.b.c.BbsMemberCacheSvcImpl - clear cache isAll:true
2010-04-08 01:37 DEBUG c.j.b.c.BbsMemberCacheSvcImpl - clear 0 counts,remain 0 counts
WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
WARN: Please see http://www.slf4j.org/codes.html#release for an explanation.
Exception in thread "HouseKeeper" java.lang.NullPointerException
at org.logicalcobwebs.proxool.HouseKeeperController.getHouseKeeperToRun(HouseKeeperController.java:53)
at org.logicalcobwebs.proxool.HouseKeeperThread.run(HouseKeeperThread.java:33)

请帮忙指出是哪里出错了,谢谢。
级别: 童生
UID: 142
积分:20 加为好友
威望: 0 精华: 0
主题:2 回复:6
注册时间:2009-06-16
在线时长:0
2#   发表于:2010-04-08 15:16:35  IP:218.149.*.*
编译源代码后出错:

08-Apr-2010 15:12:15 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.5.0_10\bin;D:\Program Files\Apache Software Foundation\Tomcat *\bin
08-Apr-2010 15:12:15 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
08-Apr-2010 15:12:15 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 922 ms
08-Apr-2010 15:12:15 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
08-Apr-2010 15:12:15 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/*.23
08-Apr-2010 15:12:15 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2010-04-08 03:12 ERROR o.s.w.c.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumCacheSvc': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.bbs.cache.BbsForumCacheSvcImpl.setBbsForumMng(com.jeecms.bbs.manager.BbsForumMng); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumMngImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.bbs.manager.impl.BbsForumMngImpl.setDao(com.jeecms.bbs.dao.BbsForumDao); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumDaoImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:256) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:998) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.6.jar:2.5.6]
at java.security.AccessController.doPrivileged(Native Method) [na:1.5.0_10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:947) [spring-context-2.5.6.jar:2.5.6]
at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:701) [spring-context-2.5.6.jar:2.5.6]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:377) [spring-context-2.5.6.jar:2.5.6]
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) [spring-web-2.5.6.jar:2.5.6]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) [spring-web-2.5.6.jar:2.5.6]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) [spring-web-2.5.6.jar:2.5.6]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) [catalina.jar:na]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) [catalina.jar:na]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) [catalina.jar:na]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) [catalina.jar:na]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) [catalina.jar:na]
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) [catalina.jar:na]
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) [catalina.jar:na]
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) [catalina.jar:na]
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138) [catalina.jar:na]
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) [catalina.jar:na]
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) [catalina.jar:na]
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) [catalina.jar:na]
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) [catalina.jar:na]
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) [catalina.jar:na]
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [catalina.jar:na]
at org.apache.catalina.core.StandardService.start(StandardService.java:448) [catalina.jar:na]
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) [catalina.jar:na]
at org.apache.catalina.startup.Catalina.start(Catalina.java:552) [catalina.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_10]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_10]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_10]
at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_10]
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) [bootstrap.jar:na]
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) [bootstrap.jar:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.bbs.cache.BbsForumCacheSvcImpl.setBbsForumMng(com.jeecms.bbs.manager.BbsForumMng); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumMngImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.bbs.manager.impl.BbsForumMngImpl.setDao(com.jeecms.bbs.dao.BbsForumDao); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumDaoImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.InjectionMetadata.injectMethods(InjectionMetadata.java:117) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:253) [spring-beans-2.5.6.jar:2.5.6]
... 41 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumMngImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.bbs.manager.impl.BbsForumMngImpl.setDao(com.jeecms.bbs.dao.BbsForumDao); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumDaoImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:256) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:998) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.6.jar:2.5.6]
at java.security.AccessController.doPrivileged(Native Method) [na:1.5.0_10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:499) [spring-beans-2.5.6.jar:2.5.6]
... 43 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.jeecms.bbs.manager.impl.BbsForumMngImpl.setDao(com.jeecms.bbs.dao.BbsForumDao); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumDaoImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.InjectionMetadata.injectMethods(InjectionMetadata.java:117) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:253) [spring-beans-2.5.6.jar:2.5.6]
... 56 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumDaoImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:256) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:998) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.6.jar:2.5.6]
at java.security.AccessController.doPrivileged(Native Method) [na:1.5.0_10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:499) [spring-beans-2.5.6.jar:2.5.6]
... 58 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.InjectionMetadata.injectMethods(InjectionMetadata.java:117) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:253) [spring-beans-2.5.6.jar:2.5.6]
... 71 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.6.jar:2.5.6]
at java.security.AccessController.doPrivileged(Native Method) [na:1.5.0_10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:499) [spring-beans-2.5.6.jar:2.5.6]
... 73 common frames omitted
级别: 童生
UID: 142
积分:20 加为好友
威望: 0 精华: 0
主题:2 回复:6
注册时间:2009-06-16
在线时长:0
3#   发表于:2010-04-08 15:21:35  IP:218.149.*.*
接上:

iled; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.InjectionMetadata.injectMethods(InjectionMetadata.java:117) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:253) [spring-beans-2.5.6.jar:2.5.6]
... 56 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bbsForumDaoImpl': Autowiring of methods failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:256) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:998) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.6.jar:2.5.6]
at java.security.AccessController.doPrivileged(Native Method) [na:1.5.0_10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:499) [spring-beans-2.5.6.jar:2.5.6]
... 58 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.ponyjava.common.hibernate3.BaseDaoImpl.setSessionFactory(org.hibernate.SessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.InjectionMetadata.injectMethods(InjectionMetadata.java:117) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:253) [spring-beans-2.5.6.jar:2.5.6]
... 71 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\projects\jeebbs\WebContent\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is net.sf.ehcache.CacheException: Error configuring from file:/D:/projects/jeebbs/WebContent/WEB-INF/classes/ehcache-hibernate.xml. Initial cause was Error configuring from input stream. Initial cause was Invalid byte 3 of 3-byte UTF-8 sequence.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.6.jar:2.5.6]
at java.security.AccessController.doPrivileged(Native Method) [na:1.5.0_10]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) [spring-beans-2.5.6.jar:2.5.6]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:499) [spring-beans-2.5.6.jar:2.5.6]
... 73 common frames omitted
级别: 童生
UID: 142
积分:20 加为好友
威望: 0 精华: 0
主题:2 回复:6
注册时间:2009-06-16
在线时长:0
4#   发表于:2010-04-08 15:34:27  IP:218.149.*.*
找到原因了,是因为ehcache-hibernate.xml里面有中文字符
级别: 白丁
UID: 8430
积分:3 加为好友
威望: 0 精华: 0
主题:0 回复:3
注册时间:2010-06-30
在线时长:0
5#   发表于:2010-07-09 13:19:49  IP:211.30.*.*
和楼主同样的问题。为什么那些成功的不用去掉中文注释?
级别: 童生
UID: 8964
积分:14 加为好友
威望: 0 精华: 0
主题:1 回复:9
注册时间:2010-07-13
在线时长:0
6#   发表于:2010-07-14 15:17:39  IP:58.28.*.*
我怎么把中文字符改了,还是报那种错误啊!
1 共1页