报错原因: MyBatis是第三方组件,spring并不会自动管理MyBatis相关对象的生命周期,因此需要手动配置,将MyBatis相关对象交给spring容器来管理。 解决方式: 在启动类中增加注解@MapperScan("cn.lxy.repository") ...
分类:
编程语言 时间:
2020-02-12 20:19:31
阅读次数:
74
依次执行如下命令: yum list telnet* 列出telnet相关的安装包 yum install telnet-server 安装telnet服务 yum install telnet.* 安装telnet客户端执行效果如下: [root@localhost ~]# yum list te ...
分类:
Web程序 时间:
2020-02-11 14:45:17
阅读次数:
88
Linux报错:bash: pip: command not found 解决步骤 1. 2. 3. `$ pip V 查看pip版本` ...
分类:
系统相关 时间:
2020-02-11 14:28:02
阅读次数:
62
windows系统git使用zip命令报错解决方法 报错信息:zip command not found 解决方法 下载zip 3.0 bin.zip和bzip2 1.0.5 bin.zip压缩包 "下载地址" 文件拷贝 解压压缩包并把zip 3.0 bin.zip解压后的bin文件夹下的zip.e ...
CentOS 系统中有可能默认未安装 git 工具,也有可能已安装但是版本太低,这时候我们需要安装或升级 git 工具。 1、检查 git 是否已安装 # git --version -bash: git: command not found # 情形一: git 未安装 # git --versi ...
分类:
其他好文 时间:
2020-02-11 09:57:05
阅读次数:
74
This is an old article from my notebook. I found this very useful and I often look back into it to find some source demo for my work. I revise it agai ...
分类:
编程语言 时间:
2020-02-10 18:34:10
阅读次数:
117
Tomcat报错如下: 解决方案: 问题出现原因是Tomcat的header缓冲区大小不够,需要conf目录下的server.xml中增加maxHttpHeaderSize字段即可: <Connector port="8080" executor="tomcatThreadPool" protoco ...
分类:
Web程序 时间:
2020-02-10 13:24:48
阅读次数:
110
解决办法 https://github.com/ageitgey/face_recognition/issues/1041#issuecomment-582401795 resolved. If you are on a mac, make sure you install opencv-pytho ...
分类:
其他好文 时间:
2020-02-09 20:26:27
阅读次数:
65
********************************************************** Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway at this time ...
分类:
其他好文 时间:
2020-02-09 20:20:52
阅读次数:
103
解决CentOS mysql_config not found错误 今天遇到这样一个问题,在安装 mysqlclient 时报 mysql_config not found 错误, CentOS7解决办法: yum install mysql-devel gcc gcc-devel python-d ...
分类:
数据库 时间:
2020-02-09 09:16:45
阅读次数:
79