配置文件没有注册 遇到这样的报错,可能是Mapper.xml没有注册。 解决方案: 在核心配置文件(一般叫mybatis-config.xml)的最后面加入 <mappers> <mapper resource="xxx/xxx/xxx"/> </mappers> ,在resource里将路径改为M ...
分类:
其他好文 时间:
2020-11-06 02:27:36
阅读次数:
23
[default] callback_whitelist = profile_tasks # The best way I’ve found to time the execution of Ansible playbooks is by enabling the profile_tasks cal ...
分类:
其他好文 时间:
2020-11-04 19:01:00
阅读次数:
20
Multiple annotations found at this line:- javax.servlet.jsp.JspException cannot be resolved to a type- Attribute (width) is obsolete. Its use is disco ...
分类:
编程语言 时间:
2020-11-04 18:47:34
阅读次数:
19
<configuration> <properties resource="db.properties"></properties> <settings> <!-- 控制全局缓存(二级缓存),默认 true--> <setting name="cacheEnabled" value="true"/> ...
分类:
其他好文 时间:
2020-10-26 10:37:47
阅读次数:
29
gitbook 安装和使用 安装nodejs wget https://nodejs.org/dist/v10.22.0/node-v10.22.0-linux-arm64.tar.xz tar -xvJf node-v10.22.0-linux-arm64.tar.xz ln -sf /runti ...
分类:
其他好文 时间:
2020-10-24 10:22:55
阅读次数:
23
SpringBootApplication 注解作用:用来表示这是一个SpringBoot的入口类,这个注解只能出现一次 详解: @SpringBootApplication 派生注解 | 组合注解,等效于以下三个注解 @SpringBootConfiguration # 标识注解,标识这是一个Sp ...
分类:
编程语言 时间:
2020-10-24 10:19:17
阅读次数:
25
一、腾讯云linux云服务器配置LNMP环境 1、登录腾讯云服务器 首先我在腾讯云的官网申请了一个学生版的服务器,操作系统为CentOS 6.3 64位。接下去下载并安装Xshell(一个远程管理linux服务器的客户端软件)。在运行该软件之后,点击新建,在弹出的新建会话属性窗口中,在名称这一栏填写 ...
分类:
系统相关 时间:
2020-10-22 22:34:28
阅读次数:
35
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)E: Unable to lock the administration directory (/var/lib/dpkg/), ...
分类:
系统相关 时间:
2020-10-21 21:14:02
阅读次数:
30
properties-maven-plugin 是一个很不错的配置管理插件,很多时候我们的配置有安全以及多环境的问题 那个基于properties-maven-plugin 就是一个很不错的选择,我们可以基于此插件管理不用的配置,同时 结合resource 插件进行资源的替换,可以灵活的管理我们的配 ...
分类:
其他好文 时间:
2020-10-21 21:01:02
阅读次数:
30