eclipse ----class path resource [ssm/consumer/mapper/] cannot be resolved to URL because it does not exist

参考:https://blog.csdn.net/gao505/article/details/81393472

 

 

 

Error creating bean with name 'sqlSessionFactory' defined in class path resource [context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'org.springframework.core.io.Resource[]' for property 'mapperLocations'; nested exception is java.lang.IllegalArgumentException: Could not resolve resource location pattern [classpath:ssm/consumer/mapper/*.xml]: class path resource [ssm/consumer/mapper/] cannot be resolved to URL because it does not exist

posted @ 2020-10-01 16:30  叶月廿柒  阅读(268)  评论(0编辑  收藏  举报