org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'XXMapper' defined in file [C:\Users\valar\IdeaProjects\digitalmuseum\target\classes\com\digitalmuseum\mapper\AntiqueMapper.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
mybatis:
configuration:
map-underscore-to-camel-case: true
mapper-locations: classpath=mapper/*.xml