摘要:
背景: 在一次扫描中被提示: Field [SESSION_CONTEXT] of type ThreadLocal must call remove() method at least one times. (line 34) 嗯?啥子情况? 搜索了一下,发现: ThreadLocal 属于线程, 阅读全文
摘要:
事件描述 在一个项目上,一开始都是很正常地开发,运行 然后呢,突然就冒出了一个问题, SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) lo 阅读全文
摘要:
前不久才发现切换用户的时候, su 和 su - 效果是不同的。。。 记录一下, 大概就是这样子: su 后面不加用户是默认切到 root: 相当于: su root 但是: su root 和 su - root 是不一样的 su root 是不改变当前变量,即只获取这个用户的执行权限,但环境变量 阅读全文