![](https://img-blog.csdnimg.cn/20210313132215786.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
常见问题
开发过程中的各种问题记录
CodingAnHour
明日复明日,明日何其多。我生待明日,万事成蹉跎。
展开
-
mybati-plus自定义sql异常Invalid bound statement (not found)封装的sql查询正常
原计划使用Maven工程分模块的开发,引入vo、dto、po思路,或一些关联查询需要必须自己写sql我遇到的场景是:mybatis-plus封装的查询语句没问题,自定义sql报错报错如下:此问题是mybatis没有找到对应xml引起的问题排查MybatisPlusProperties配置项及默认参数查看源码MybatisPlusAutoConfiguration中xml是否扫描到跟踪代码发现然并卵,没有扫描到,所以是mybatis-plus.mapper-locations的问题原因及解原创 2021-09-02 11:23:11 · 894 阅读 · 0 评论 -
feign.FeignException$MethodNotAllowed: [405] during [POST] to xxx
post方法1.检查定义的api接口中方法参数是否使用@RequestParam或@RequestBody,如果没有,根据类型增加@RequestParam或@RequestBody@HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "18000")@RequestMapping(value = "getTagTree", method = {RequestMethod.POST})原创 2021-03-13 13:31:49 · 3344 阅读 · 0 评论