2.2.1名字错误 名字错误:python 的关键字写错了。 NameError: name 'python3' is not defined 现象: 2.2.2语法错误 SyntaxError: invalid syntax 无效的语法:Java 和 JS 一行结束用分号“;”Python 用的换 ...
分类:
编程语言 时间:
2021-04-22 16:31:44
阅读次数:
0
首发于Enaium的个人博客 不用XML只用注解 首先需要创建6个注解 SQL用于输入SQL语句 @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface SQL { String[] valu ...
分类:
其他好文 时间:
2021-04-22 16:14:47
阅读次数:
0
一:添加依赖jar <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency> <groupId>mysql</gr ...
分类:
数据库 时间:
2021-04-22 15:55:12
阅读次数:
0
对象举例: class User { private String username; private List<Wife> wifes; } class Wife { } 1. 问题 封装出的List长度数据不正确 比如wifes数据应该有两条,但是查询出来只有一条 2. 原因 由于使用Mybat ...
分类:
其他好文 时间:
2021-04-22 15:52:34
阅读次数:
0
https://blog.csdn.net/qq_29846663/article/details/73498853 查看email % cat ~/.gitconfig[user] email = a@bc.com[credential] helper = store[http] sslverif ...
分类:
其他好文 时间:
2021-04-22 15:36:18
阅读次数:
0
一、问题报错 [ERROR] InnoDB: Ignoring the redo log due to missing MLOG_CHECKPOINT between the checkpoint xxxx and the end yyyy. 因MySQL上存储的应用数据并没有多大,mysql下多张 ...
分类:
数据库 时间:
2021-04-22 15:22:00
阅读次数:
0
create user hnrh identified by hnrh123; Oracle 删除用户时出现异常ora-01922: CASCADE must bu specified to drop 用户名 Oracle 删除用户时出现错误ora-01922: CASCADE must bu sp ...
分类:
数据库 时间:
2021-04-21 12:53:00
阅读次数:
0
1. nginx.cof配置文件说明 # 运行用户 user nobody; # 启动进程,通常设置成和cpu的数量相等 worker_processes 1; # 全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.log n ...
分类:
其他好文 时间:
2021-04-21 12:37:55
阅读次数:
0
有时我们有一个带着文件名的路径如“/home/user/file.py” 我们不要“/file.py”,只要“/home/user”这个路径。 我想到的办法 1.用.rfind()和.replace() 注意:.rfind("/")是指从字符串最后开始查找找到第一个“/”的位置,也就是该字符串最后一 ...
分类:
编程语言 时间:
2021-04-21 12:30:42
阅读次数:
0
1、yml文件 #spring datasource spring.datasource.url=jdbc:mysql:///db_notice?serverTimezone=GMT%2B8&charactterEncoding=uft8 spring.datasource.username=roo ...
分类:
编程语言 时间:
2021-04-21 12:14:39
阅读次数:
0