org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: The setting log4jImpl is not known. Make sure you spelled it correctly (case sensitive).
idea报错Error creating bean with name ‘sqlSessionFactory’ defined in class path resource [applicationContext.xml]:
逐步检查:
spring 容器文件
对每行进行注释发现
只有出现这两行代码才会报错,且dataSource排查过无错