错误笔记
狂疯码打中
这个作者很懒,什么都没留下…
展开
-
docker mysql 8.0.x 无法连接MySQL:Access denied for user ‘root‘@‘172.17.0.1‘(using password: YES)
概述docker运行MySQL8.0.27。docker run --name mysql \ -v /Users/abc/docker/mysql/conf.d:/etc/mysql/conf.d \ -v /Users/abc/docker/mysql/data:/var/lib/mysql \ -e MYSQL_ROOT_PASSWORD=root9876 \ -p 3306:3306 \ -d mysql:8.0.27成功创建了docker容器后,Navicat能正常连接,但通过I原创 2021-12-12 01:48:19 · 3266 阅读 · 0 评论 -
mac的virtualbox创建虚拟机,启动报错:Kernel driver not installed (rc=-1908)
概述mac下载安装了virtualbox然后正常设置了iso镜像,启动时报错Kernel driver not installed (rc=-1908)。解决办法1、重启mac2、打开系统偏好设置>>安全性与隐私3、会有一行Oracle的权限授权,点击允许4、到此,我的虚拟机已经可以正常启动...原创 2020-11-29 12:10:31 · 12030 阅读 · 4 评论 -
springcloud feign client异常 feign.FeignException$NotFound: [404] during [GET] to...
概述搭建了一个微服务demo跑跑,使用feignClient调用微服务接口时,虽然能成功调用接口,但是抛出了异常:feign.FeignException$NotFound: [404] during…模拟场景:下订单后,给用户返还积分代码如下会员积分服务-积分接口@RequestMapping("/credit")public interface ICreditApi { @GetMapping("/add/{userId}/{number}") ResponseResult原创 2020-11-23 23:34:54 · 15717 阅读 · 2 评论 -
Elasticsearch7.x聚合查询发生异常
es 聚合查询GET /ecommerce/product/_search{ "aggs":{ "group_by_tags" :{ "terms": { "field": "tags" } } }}发生异常Text fields are not optimised for operations that require per-document field data like aggregations and sorting,原创 2020-11-16 12:19:35 · 861 阅读 · 0 评论 -
springboot项目启动异常 - required a single bean, but 2 were found
springboot项目启动异常 - required a single bean, but 2 were found问题描述详细错误信息错误分析原因解决办法问题描述springboot+mybatis,编写接口及实现类,并使用@Autowired注入controller, 启动异常:required a single bean, but 2 were foundcontroller接口:@RestController@RequestMapping("/api/sys/statistic")pu原创 2020-10-19 00:35:34 · 70368 阅读 · 8 评论 -
mybatis执行抛异常:A query was run and no Result Maps were found for the Mapped Statement
目录异常信息原因解决异常信息org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.xxx.statistic.reports.mapper.WebsiteBaseDataMapper.co原创 2020-09-21 11:59:13 · 272 阅读 · 0 评论 -
mybatis抛异常Could not find SQL statement to include with refid ‘xxx‘
项目启动mybatis抛异常Could not find SQL statement to include with refid 'xxx'异常信息排查原因异常信息Invocation of init method failed; nested exception is org.apache.ibatis.builder.IncompleteElementException: Could not find SQL statement to include with refid ‘com.xxx.stat原创 2020-09-21 11:31:11 · 2058 阅读 · 0 评论