Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2019-07-12 11:52:52.903 ERROR 12880 --- [ main] o.s.boot.SpringApplication : Appli.项目删除以后重新从open里面找到文件启动,就一直报错!怎么解决啊!

来源:3-3 定义通用的返回对象--返回错误信息

假面先生丶hha

2019-07-12 11:57

rg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'app': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userDOMapper' defined in file [E:\Program Files x86\IDEA\IDEA项目\miaosha\target\classes\com\miaoshaproject\dao\UserDOMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\Program Files x86\IDEA\IDEA项目\miaosha\target\classes\mapping\UserPasswordDOMapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error creating document instance.  Cause: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 8; 不允许有匹配 "[xX][mM][lL]" 的处理指令目标。

写回答 关注

1回答

  • weixin_慕容3504474
    2021-03-22 11:28:53

    一般哦都是软件配置问题  maven  啥的

SpringBoot构建电商基础秒杀项目

应用SpringBoot快速搭建拥有用户、商品、交易及秒杀活动的电商秒杀应用。

49073 学习 · 954 问题

查看课程

相似问题