首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

小弟我的javaWeb项目从公司带回来的,出息上面的错误咋回事啊谁能帮小弟我解答一上

2013-02-03 
我的javaWeb项目从公司带回来的,出息下面的异常怎么回事啊?哪位高手能帮我解答一下?2013-01-28 22:42:21,1

我的javaWeb项目从公司带回来的,出息下面的异常怎么回事啊?哪位高手能帮我解答一下?

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 type

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: 


[解决办法]
一个是少包  另一个是你配置文件现在配的东西多了 有几个找不到对应名称的类
[解决办法]
Bean 'org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator' is not eligible for getting processe
请你先引入相关的jar包  之后再看问题 这个很多都是jar包没有
[解决办法]
我觉得问题是 你把项目拷回家的时候。没有在buildPath里面重新add Library

热点排行