- 博客(4)
- 收藏
- 关注
原创 could not autowire.No beans of XXX type found.编译不通过
常见这个错误编译不通过要么是缺@mapper@service之类的注解,要么是启动类没扫到。但是两者我都检查过还是编译不通过,出错自某个impl注入dao失败。因为是基于某个开源项目做开发,源代码是没有问题,加了自己的业务就有这个报错,看了下原有的dao.xml的namespace扫的dao再看出错的dao对应的xml,发现扫到的dao没有@mapper…说明确实没有注入,但RegulatoryPlatformServiceDao上是写有@mapper的点进第一张图里的去看,发现人家原来@mapp
2020-09-08 11:48:54
435
转载 dockercompose部署ES遇到 Error opening log file ‘logs/gc.log’: Permission denied
记一次docker-compose 部署 elasticsearch:6.6.2遇到的坑总计历时2天,主要关于 docker-compose volumes 挂载宿主机目录遇到的问题安装过程:1.pull 镜像docker pull elasticsearch:6.6.2安装 IK 插件 以改造容器ocker run -it elasticsearch:6.6.2 或 image ID /bin/bash ./bin/elasticsearch-plugin install https://
2020-08-21 21:55:37
4532
原创 ArrayList循环遍历并删除元素的常见陷阱
今天使用foreach形式遍历报错 然后百度了一下参考 https://www.cnblogs.com/huangjinyong/p/9455163.htmlhttps://www.cnblogs.com/hupu-jr/p/7891844.html推荐使用for (Iterator ite = list.iterator(); ite.hasNext()???? {String str = ...
2019-11-07 17:12:39
168
原创 Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception
复习巩固ssm框架时做一个简单的登录验证 卡在这个错误20多分钟Servlet.service() for servlet [dispatchServlet] in context with path [/ssm] threw exception [Request processing failed; nested exception is java.lang.NullPointerExcept...
2019-07-08 12:12:59
2352
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人