日期:2014-05-19  浏览次数:20721 次

ssh2项目调试问题,在线等 急····
Java code
2012-8-14 9:53:33 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2012-8-14 9:53:33 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2012-8-14 9:53:34 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2012-8-14 9:53:34 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2012-8-14 9:53:34 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 896 ms
2012-8-14 9:53:34 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-8-14 9:53:34 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.29
log4j:WARN No appenders could be found for logger (org.springframework.util.ClassUtils).
log4j:WARN Please initialize the log4j system properly.
2012-8-14 9:53:34 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2012-8-14 9:53:39 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2012-8-14 9:53:39 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2012-8-14 9:53:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2012-8-14 9:53:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2012-8-14 9:53:39 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2012-8-14 9:53:39 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2012-8-14 9:53:39 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory mywork
2012-8-14 9:53:40 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
2012-8-14 9:53:43 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 'userServiceTarget' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
    at org.springframework.beans.factory.su