一个SSM项目从一台电脑直接复制到另一台电脑后启动报no matching editors or conversion strategy found

拥着情歌入眠丶 2020-09-17 10:59:13
报错信息:2020-09-17 10:49:05,450 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'DispatcherServlet': initialization started
2020-09-17 10:49:05,482 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing WebApplicationContext for namespace 'DispatcherServlet-servlet': startup date [Thu Sep 17 10:49:05 CST 2020]; root of context hierarchy
2020-09-17 10:49:05,546 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [spring/spring-mvc.xml]
2020-09-17 10:49:06,048 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [spring/spring-applicationContext.xml]
2020-09-17 10:49:06,056 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [spring/spring-dao.xml]
2020-09-17 10:49:06,136 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [spring/spring-service.xml]
2020-09-17 10:49:06,168 [RMI TCP Connection(3)-127.0.0.1] INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [spring/spring-quartz.xml]
2020-09-17 10:49:07,036 [RMI TCP Connection(3)-127.0.0.1] WARN [org.springframework.web.context.support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'commonContrlller': Unsatisfied dependency expressed through field 'ibCouponsIssueService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'bCouponsIssueServiceImp': Unsatisfied dependency expressed through field 'bCouponsIssueMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BCouponsIssueMapper' defined in file [D:\workspace\脉动后台管理平台\pulsation_manage\out\artifacts\pulsation_manage_Web_exploded\WEB-INF\classes\com\jg\cqzj\mapper\B\BCouponsIssueMapper.class]: Cannot resolve reference to bean 'BTerminalSqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BTerminalSqlSessionFactory' defined in class path resource [spring/spring-dao.xml]: Cannot resolve reference to bean 'BTerminalDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BTerminalDataSource' defined in class path resource [spring/spring-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.lang.String' to required type 'java.io.PrintWriter' for property 'logWriter'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'java.io.PrintWriter' for property 'logWriter': no matching editors or conversion strategy found
2020-09-17 10:49:07,044 [RMI TCP Connection(3)-127.0.0.1] ERROR [org.springframework.web.servlet.DispatcherServlet] - Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'commonContrlller': Unsatisfied dependency expressed through field 'ibCouponsIssueService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'bCouponsIssueServiceImp': Unsatisfied dependency expressed through field 'bCouponsIssueMapper'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BCouponsIssueMapper' defined in file [D:\workspace\脉动后台管理平台\pulsation_manage\out\artifacts\pulsation_manage_Web_exploded\WEB-INF\classes\com\jg\cqzj\mapper\B\BCouponsIssueMapper.class]: Cannot resolve reference to bean 'BTerminalSqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BTerminalSqlSessionFactory' defined in class path resource [spring/spring-dao.xml]: Cannot resolve reference to bean 'BTerminalDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BTerminalDataSource' defined in class path resource [spring/spring-dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.lang.String' to required type 'java.io.PrintWriter' for property 'logWriter'; nested exception is java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'java.io.PrintWriter' for property 'logWriter': no matching editors or conversion strategy found
...全文
304 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
刚开始以为是编码的问题,后来编码改为UTF-8后依旧报这个错误,这个项目连接了3个数据库,使用了Atomikos

67,550

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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