任庆博

导航

2022年1月17日 #

spring-mvc相关配置

摘要: 文件名一般为:spring-mvc.xml <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/20 阅读全文

posted @ 2022-01-17 14:07 不捡自然无 阅读(8) 评论(0) 推荐(0) 编辑

spring的相关配置文件

摘要: 文件名一般为:spring-config <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/200 阅读全文

posted @ 2022-01-17 14:06 不捡自然无 阅读(4) 评论(0) 推荐(0) 编辑

关于已经写了相应的类,而在引用的时候报错的问题

摘要: 这应该是idea缓存的原因 清除缓存,重启idea 阅读全文

posted @ 2022-01-17 14:04 不捡自然无 阅读(26) 评论(0) 推荐(0) 编辑

Mybatis中关于sqlMapConfig.xml中通过<mappers><package name="" ></mappers>找不到相应的配置文件的问题

摘要: 通过 <mappers> <package name="Com.Ren.Mapper"/> </mappers>这种方式配置的,需要 1. 所写的xml配置文件和接口在同一包下(在resources下创建和接口相同的路径名也是一样的【注意:创建路径需要用“/”分割,而不是“.”】) 2. 在xml配 阅读全文

posted @ 2022-01-17 14:01 不捡自然无 阅读(315) 评论(0) 推荐(0) 编辑