org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in com/guigu/mapper/BookMapper.xml### The err ...
分类:
其他好文 时间:
2020-05-03 00:37:47
阅读次数:
77
class staticmethod(object): """ staticmethod(function) -> method Convert a function to be a static method. A static method does not receive an implici ...
分类:
编程语言 时间:
2020-05-02 22:32:25
阅读次数:
120
In a sequence of numbers,we can find some number pairs that conform to the rule below: Assuming that there exist two numbers,N and M and it's position ...
分类:
其他好文 时间:
2020-05-02 18:46:09
阅读次数:
60
private void ExecCheckExe(){ string exefile = "d:\\chktool\\checktool.exe"; if (File.Exists(exefile)) { Process process = new Process(); ProcessStartI ...
解析模板[图标时出错favicon.ico]模板可能不存在 在Thymeleaf模板添加link标签 <link rel="shortcuticon"href="../resources/favicon.ico"th:href="@{/static/favicon.ico}"> th:href="@ ...
分类:
数据库 时间:
2020-05-02 11:55:55
阅读次数:
768
? 详情请关注微信公众号:“晚风花间寺中人” 后端学习 项目管理 1、系统需求 通讯录是一个可以记录亲人、好友信息的工具。 本教程主要利用C++来实现一个通讯录管理系统 系统中需要实现的功能如下: 添加联系人:向通讯录中添加新人,信息包括(姓名、性别、年龄、联系电话、家庭住址)最多记录1000人 显 ...
分类:
其他好文 时间:
2020-05-02 10:17:25
阅读次数:
97
为了加强安全性,MySQL5.7为root用户随机生成了一个密码,在error log中,关于error log的位置,如果安装的是RPM包,则默认是/var/log/mysqld.log。 一般可通过log_error设置 mysql> select @@log_error;+ +| @@log_ ...
分类:
其他好文 时间:
2020-05-02 09:15:38
阅读次数:
64
```java @RequestMapping("/test1") public ResponseEntity testControllerAdvice(String id) { if (StringUtils.isEmpty(id)) { throw new UserNotExistExcepti... ...
分类:
其他好文 时间:
2020-05-02 00:27:45
阅读次数:
74
@ResponseStatus 与@ExceptionHandler一起使用, 抛出异常, 但是无法将map的值传递出去, 即使重写了 可以通过指定 将值传递到request中 ...
分类:
其他好文 时间:
2020-05-02 00:09:59
阅读次数:
52
一、前言: Django查询数据库中的信息,实质是将SQL语句封装成了其内置的方法。打开mysql日志文件可以看到django每次执行查询命令时对应的sql语句。 查看mysql日志的方法: 1.修改mysql配置文件,去除68,69行的注释。文件路径(/etc/mysql/mysql.conf.d ...
分类:
其他好文 时间:
2020-05-01 20:20:35
阅读次数:
63