2013-01-28 22:42:21,170 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started
2013-01-28 22:42:21,213 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@16a38b5: display name [Root WebApplicationContext]; startup date [Mon Jan 28 22:42:21 CST 2013]; root of context hierarchy
2013-01-28 22:42:21,335 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/iGateOA/WEB-INF/classes/applicationContext.xml]
2013-01-28 22:42:21,525 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from URL [file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/iGateOA/WEB-INF/classes/dataAccessContext.xml]
2013-01-28 22:42:21,545 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@16a38b5]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1ba94d
2013-01-28 22:42:21,785 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\host_setting.properties]
2013-01-28 22:42:21,785 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\jdbc.properties]
2013-01-28 22:42:21,785 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\label.properties]
2013-01-28 22:42:21,785 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\label_en_US.properties]
2013-01-28 22:42:21,795 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\label_zh_CN.properties]
2013-01-28 22:42:21,795 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\mail_config.properties]
2013-01-28 22:42:21,795 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\message.properties]
2013-01-28 22:42:21,795 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\message_en_US.properties]
2013-01-28 22:42:21,795 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\message_zh_CN.properties]
2013-01-28 22:42:21,795 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\reqiured_msg.properties]
2013-01-28 22:42:21,795 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\reqiured_msg_en_US.properties]
2013-01-28 22:42:21,795 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\iGateOA\WEB-INF\classes\reqiured_msg_zh_CN.properties]
2013-01-28 22:42:21,845 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2013-01-28 22:42:21,865 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1ba94d: defining beans [propertyConfigurer,emailSettingBean,hostSetting,baseBean,resetBean,personalInformationBean,userBean,assetBean,assetCategoryBean,assetStatusBean,assetDeskBean,applicationTypeBean,applicationBean,applicationManageBean,assetInformationBean,employeeBean,nationalBean,logBean,uploadHistoryBean,uploadFileBean,roleBean,permissionBean,assignPermissionBean,baseService,employeeService,userService,assetService,assetCategoryService,assetStatusService,assetDeskService,applicationTypeService,applicationService,applicationManageService,assetInformationService,uploadHistoryService,uploadFileService,roleService,permissionService,assignPermissionService,logService,transactionManager,transactionInterceptor,org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator,dataSource,hibernateProperties,sessionFactory,baseDao,logDao,userDao,employeeDao,roleDao,permissionDao,assignPermissionDao,uploadHistoryDao,uploadFileDao,assetDao,assetCategoryDao,assetStatusDao,assetDeskDao,applicationTypeDao,applicationDao,applicationManageDao]; root of factory hierarchy
2013-01-28 22:42:22,881 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Building new Hibernate SessionFactory
2013-01-28 22:42:44,206 WARN [net.sf.ehcache.config.ConfigurationFactory] - No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/iGateOA/WEB-INF/lib/ehcache-1.2.3.jar!/ehcache-failsafe.xml
2013-01-28 22:42:44,901 INFO [org.springframework.orm.hibernate3.HibernateTransactionManager] - Using DataSource [org.apache.commons.dbcp.BasicDataSource@1e2a069] of Hibernate SessionFactory for HibernateTransactionManager
2013-01-28 22:42:45,403 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1ba94d: defining beans [propertyConfigurer,emailSettingBean,hostSetting,baseBean,resetBean,personalInformationBean,userBean,assetBean,assetCategoryBean,assetStatusBean,assetDeskBean,applicationTypeBean,applicationBean,applicationManageBean,assetInformationBean,employeeBean,nationalBean,logBean,uploadHistoryBean,uploadFileBean,roleBean,permissionBean,assignPermissionBean,baseService,employeeService,userService,assetService,assetCategoryService,assetStatusService,assetDeskService,applicationTypeService,applicationService,applicationManageService,assetInformationService,uploadHistoryService,uploadFileService,roleService,permissionService,assignPermissionService,logService,transactionManager,transactionInterceptor,org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator,dataSource,hibernateProperties,sessionFactory,baseDao,logDao,userDao,employeeDao,roleDao,permissionDao,assignPermissionDao,uploadHistoryDao,uploadFileDao,assetDao,assetCategoryDao,assetStatusDao,assetDeskDao,applicationTypeDao,applicationDao,applicationManageDao]; root of factory hierarchy
2013-01-28 22:42:45,403 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Closing Hibernate SessionFactory
2013-01-28 22:42:45,413 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assetDeskService' defined in URL [file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/iGateOA/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.igate.oa.service.AssetDeskService]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
The import javax.servlet.ServletOutputStream cannot be resolved
The import javax.servlet.http cannot be resolved
The import javax.servlet.http cannot be resolved
ServletOutputStream cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletRequest cannot be resolved to a type
HttpServletResponse cannot be resolved to a type
HttpServletResponse cannot be resolved to a typeCaused by: 
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.igate.oa.service.AssetDeskService]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 

解决方案 »

  1.   

    还有下面的:
    Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.igate.oa.service.AssetDeskService]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
    The import javax.servlet.ServletOutputStream cannot be resolved
    The import javax.servlet.http cannot be resolved
    The import javax.servlet.http cannot be resolved
    ServletOutputStream cannot be resolved to a type
    HttpServletRequest cannot be resolved to a type
    HttpServletRequest cannot be resolved to a type
    HttpServletResponse cannot be resolved to a type
    HttpServletResponse cannot be resolved to a typeCaused by: java.lang.Error: Unresolved compilation problems: 
    The import javax.servlet.ServletOutputStream cannot be resolved
    The import javax.servlet.http cannot be resolved
    The import javax.servlet.http cannot be resolved
    ServletOutputStream cannot be resolved to a type
    HttpServletRequest cannot be resolved to a type
    HttpServletRequest cannot be resolved to a type
    HttpServletResponse cannot be resolved to a type
    HttpServletResponse cannot be resolved to a type at com.igate.oa.service.AssetDeskService.<init>(AssetDeskService.java:16)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:752)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:717)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:245)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:188)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2013-1-28 22:42:45 com.sun.faces.config.ConfigureListener contextInitialized
    信息: Initializing Sun's JavaServer Faces implementation (1.2_04-b16-p02) for context '/iGateOA'
    2013-1-28 22:42:45 org.apache.catalina.core.StandardContext listenerStart
    严重: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    java.lang.Error: Unresolved compilation problems: 
    The import javax.servlet.http cannot be resolved
    HttpServletResponse cannot be resolved to a type
    HttpServletResponse cannot be resolved to a type at com.igate.oa.lifecycle.SessionLifecycleImpl.<init>(SessionLifecycleImpl.java:21)
    at com.igate.oa.lifecycle.SessionLifecycleFactoryImpl.<init>(SessionLifecycleFactoryImpl.java:25)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:567)
    at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:805)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      

  2.   

    javax.servlet.http cannot be resolved   少包   
      

  3.   

    2013-01-28 22:42:21,845 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    2013-01-28 22:42:21,865 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1ba94d: defining beans [propertyConfigurer,emailSettingBean,hostSetting,baseBean,resetBean,personalInformationBean,userBean,assetBean,assetCategoryBean,assetStatusBean,assetDeskBean,applicationTypeBean,applicationBean,applicationManageBean,assetInformationBean,employeeBean,nationalBean,logBean,uploadHistoryBean,uploadFileBean,roleBean,permissionBean,assignPermissionBean,baseService,employeeService,userService,assetService,assetCategoryService,assetStatusService,assetDeskService,applicationTypeService,applicationService,applicationManageService,assetInformationService,uploadHistoryService,uploadFileService,roleService,permissionService,assignPermissionService,logService,transactionManager,transactionInterceptor,org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator,dataSource,hibernateProperties,sessionFactory,baseDao,logDao,userDao,employeeDao,roleDao,permissionDao,assignPermissionDao,uploadHistoryDao,uploadFileDao,assetDao,assetCategoryDao,assetStatusDao,assetDeskDao,applicationTypeDao,applicationDao,applicationManageDao]; root of factory hierarchy
    2013-01-28 22:42:22,881 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Building new Hibernate SessionFactory
    2013-01-28 22:42:44,206 WARN [net.sf.ehcache.config.ConfigurationFactory] - No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/iGateOA/WEB-INF/lib/ehcache-1.2.3.jar!/ehcache-failsafe.xml
    2013-01-28 22:42:44,901 INFO [org.springframework.orm.hibernate3.HibernateTransactionManager] - Using DataSource [org.apache.commons.dbcp.BasicDataSource@1e2a069] of Hibernate SessionFactory for HibernateTransactionManager
    2013-01-28 22:42:45,403 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1ba94d: defining beans [propertyConfigurer,emailSettingBean,hostSetting,baseBean,resetBean,personalInformationBean,userBean,assetBean,assetCategoryBean,assetStatusBean,assetDeskBean,applicationTypeBean,applicationBean,applicationManageBean,assetInformationBean,employeeBean,nationalBean,logBean,uploadHistoryBean,uploadFileBean,roleBean,permissionBean,assignPermissionBean,baseService,employeeService,userService,assetService,assetCategoryService,assetStatusService,assetDeskService,applicationTypeService,applicationService,applicationManageService,assetInformationService,uploadHistoryService,uploadFileService,roleService,permissionService,assignPermissionService,logService,transactionManager,transactionInterceptor,org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator,dataSource,hibernateProperties,sessionFactory,baseDao,logDao,userDao,employeeDao,roleDao,permissionDao,assignPermissionDao,uploadHistoryDao,uploadFileDao,assetDao,assetCategoryDao,assetStatusDao,assetDeskDao,applicationTypeDao,applicationDao,applicationManageDao]; root of factory hierarchy
    2013-01-28 22:42:45,403 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Closing Hibernate SessionFactory
    2013-01-28 22:42:45,413 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assetDeskService' defined in URL [file:/D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/iGateOA/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.igate.oa.service.AssetDeskService]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
    The import javax.servlet.ServletOutputStream cannot be resolved
    这里的问题一大堆bean,service,dao好像都是Spring的配置出问题,这是什么问题呢?
      

  4.   

    Bean 'org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator' is not eligible for getting processe
    请你先引入相关的jar包  之后再看问题 这个很多都是jar包没有