linux 下weblogic无法正确加载web项目中spring配置bean

hexiangnc 2015-11-25 04:47:12
web项目在window下tomcat和weblogic都正常启动,linux下Tomcat也正常,就是在weblogic中启动有问题,spring注解不启作用。项目是maven构建的。jdk1.6。请教各位大神了。折磨一个星期了
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'excelController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.nari.report.engine.service.IExcelService com.nari.report.web.controller.engine.ExcelController.excelService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'excelService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.nari.report.engine.service.IReportTemplateService com.nari.report.engine.service.impl.ExcelService.templateService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportTemplateService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.nari.report.engine.process.datamanager.future.DataProxyService com.nari.report.engine.service.impl.ReportTemplateService.dataProxyService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataProxyService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.nari.report.engine.process.datamanager.H2DataManager com.nari.report.engine.process.datamanager.future.DataProxyService.h2DataManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'h2DataManager' defined in URL [zip:/root/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/report-web/7wydfw/war/WEB-INF/lib/report-engine-1.0.0-SNAPSHOT.jar!/com/nari/report/engine/process/datamanager/H2DataManager.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.nari.report.engine.process.datamanager.H2DataManager]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
...全文
98 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧