在测试时发现,在点击-标签管理-下的-标签列表-时,会提示Request method 'GET' is not supported,
解决方案:我将delete的方法名更改为了tag/delete/{id}后
该问题被解决
解决方案:我将delete的方法名更改为了tag/delete/{id}后
该问题被解决
2023-10-16
最新回答 / gaidie
mybatis的版本与Spring Boot应该匹配,不然报如下错误:Description:A component required a bean of type 'com.xiaogai.allone.mapper.TagMapper' that could not be found.Action:Consider defining a bean of type 'com.xiaogai.allone.mapper.TagMapper'...
2023-09-06
讲师回答 / Er十七
代码开发判空是好习惯,不要过度依赖框架封装。养成判空好习惯,这样不必纠结在不同位置底层封装是否会返回null,也防止版本迭代所造成的影响。也防止在有可能为空的位置的漏处理。
2023-08-30
最新回答 / qq_慕侠0535306
一样的问题,在pom文件中把mybatis改为3.0.2解决
org.mybatis.spring.bootmybatis-spring-boot-starter3.0.2
2023-02-09
Error creating bean with name 'tagService': Unsatisfied dependency expressed through field 'tagMapper': Error creating bean with name 'tagMapper' defined in file [mapper/TagMapper.class]: Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required
2023-01-15