maven项目中因为引入的有log4j2 在打成jar包 通过java cp 命令运行时,引起下面这段错误,后果就是log日志无法打印。 先分析原因: log4j2 是采用的插件式编程,当log4j2包编译时,或者含有log4j2插件的包编译时,会将需要加载的插件信息放在META INF/org/a ...
分类:
编程语言 时间:
2020-05-12 11:54:58
阅读次数:
61
git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and t ...
分类:
Web程序 时间:
2020-05-12 11:44:27
阅读次数:
78
#!/usr/bin/env python# -*- coding:utf-8 -*-# Author: Hoganimport xlrdimport sqlite3def read_excel(fileName): # 打开文件excel workBook = xlrd.open_workbook ...
分类:
数据库 时间:
2020-05-12 11:27:14
阅读次数:
84
一.文件的扩展模式 扩展模式 (配合打开模式的辅助模式,自己单独不能使用)如 + 和 b 1.先读后写 r+ 2.先写后读 r+ 3.可读可写 w+ 4.可读可写 a+ (在写入内容时,会强制把光标移动到最后) 二. read seek tell 三个函数的使用 (utf-8编码格式下 默认一个中文 ...
分类:
编程语言 时间:
2020-05-11 23:45:30
阅读次数:
90
ValueError: must have exactly one of create/read/write/append mode fo = open('runoob.txt', 'rw+') python 中文件打开操作的mode中没有“rw” 合法的mode有: r、rb、r+、rb+、w、w ...
分类:
移动开发 时间:
2020-05-11 23:25:08
阅读次数:
79
总览 MySQL事务隔离级别 read uncommitted 读取未提交的数据 read committed 读取提交的数据 repeatable read 可重复读 serializable 串行化 常见问题 更新丢失————事务A的操作被事务B覆盖 脏读————事务A读取了事务B已经修改但尚未 ...
分类:
数据库 时间:
2020-05-11 18:44:02
阅读次数:
73
```cpp #include #include using namespace std; #define R register #define LL long long const int inf=0x3f3f3f3f; const int MAXN=4e6+10; inline int read... ...
分类:
其他好文 时间:
2020-05-11 13:20:34
阅读次数:
59
with open(filename, 'r', encoding='utf-8') as f: 指定文件对象的上下文环境并在离开上下文环境时自动释放文件资源 模式具体含义 'r' 读取 (默认) def main(): f = open('致橡树.txt', 'r', encoding='utf- ...
分类:
编程语言 时间:
2020-05-11 13:05:18
阅读次数:
64
本文介绍如何把归档恢复到指定位置,或者从指定位置的归档来进行recover 操作
分类:
其他好文 时间:
2020-05-11 10:34:06
阅读次数:
66
前提概要 什么是MVCC 什么是当前读和快照读? 当前读,快照读和MVCC的关系 MVCC实现原理 隐式字段 undo日志 Read View(读视图) 整体流程 MVCC相关问题 RR是如何在RC级的基础上解决不可重复读的? RC,RR级别下的InnoDB快照读有什么不同? 一、前提概要 什么是M ...
分类:
Web程序 时间:
2020-05-11 00:49:30
阅读次数:
65