- 博客(12)
- 收藏
- 关注
原创 Cypress - Failed to deserialize the V8 snapshot blob 问题修复
Cypress - Failed to deserialize the V8 snapshot blob 修复Cypress 报错信息:Failed to deserialize the V8 snapshot blob.This can mean that the snapshot blob file is corrupted or missing.解决办法:Renaming the Cyrpress cache folder andreinstalling with npx cypres
2020-12-17 15:02:45
1936
原创 ModuleNotFoundError: No module named 'cx_Oracle' 解决方法
遇到 ModuleNotFoundError: No module named 'cx_Oracle’问题 解决方法:安装cx_Oracle包命令:pip install cx_oracle运行结果:C:\Users\chol>pip install cx_oracleCollecting cx_oracle Downloading cx_Oracle-7.3.0-cp37-...
2020-04-18 01:00:44
13752
转载 以 mvn spring-boot:run 修改Spring Boot default port
How to change the Spring Boot default portThe port 8080 is a rather popular one so no wonder most services use it as a default port. So if you want to start your Spring Boot Application u may jump ri...
2020-04-01 02:10:57
668
转载 开窗函数 清晰解释的版本
开窗函数普通的聚合函数聚合的行集是组,开窗函数聚合的行集是窗口。因此,普通的聚合函数每组(Group by)只返回一个值,而开窗函数则可为窗口中的每行都返回一个值。简单理解,就是对查询的结果多出一列,这一列可以是聚合值,也可以是排序值。开窗函数一般分为两类,聚合开窗函数和排序开窗函数。测试数据-- 建表create table student_scores(id int,stude...
2019-09-25 15:44:20
338
转载 Shell中的${}、##和%%使用范例
Shell中的${}、##和%%使用范例,本文给出了不同情况下得到的结果。假设定义了一个变量为:代码如下:file=/dir1/dir2/dir3/my.file.txt可以用${ }分别替换得到不同的值:${file#*/}:删掉第一个 / 及其左边的字符串:dir1/dir2/dir3/my.file.txt${file##*/}:删掉最后一个 / 及其左边的字符串:my.file.txt...
2019-09-10 10:20:20
412
原创 连接池C3P0连接MySQL 8 问题: 'serverTimezone' is not writable or has an invalid setter method
C3P0版本问题,mchange-commons-0.2.jar 版本问题,mysql-connector-java-8.0.14版本问题解决之后,又遇到问题: 'serverTimezone' is not writable or has an invalid setter method根据C3P0配置中的其他参数,比如initialPoolSize 定位到是c3p0-0.9.5.3.ja...
2019-02-23 00:28:50
571
原创 ClassPathXmlApplicationContext的使用
测试类Main:package com.atguigu.spring.helloworld;import org.springframework.context.support.ClassPathXmlApplicationContext;public class Main { public static void main(String[] args) { // Hell...
2019-02-17 18:01:03
25369
2
原创 关于ubntu安装openssh-server后没有启动sshd
ubuntu彻底卸载软件 :关于安装openssh-server后没有启动sshd 错误现象1.安装openssh-server后没有启动sshd2.尝试手动运行sshd,报:sshd re-exec requires execution with an absolute path1.测试 sudo service ssh restart`...
2019-02-15 13:33:57
2719
转载 Java 读取配置文件的五种方式
<meta name="description" content="方式一:采用ServletContext读取,读取配置文件的realpath,然后通过文件流读取出来。 因为是用ServletContext读取文件路径,所以配置文件可以放入在WEB
2019-02-02 00:45:00
937
转载 cmd 里面运行git提示“不是内部或外部命令,也不是可运行的程序”的解决办法
今天遇到个问题,安装完git之后,打开windows系统的cmd,执行git命令老是报错说“git不是内部或外部命令,也不是可运行的程序”。后来在网上找到了解决办法,现整理记录下来:1.找到你电脑上的git安装中bin的路径,如:E:\安装吧\Git\Git\bin;同时,找到git安装路径中git-core的位置,如:E:\安装吧\Git\Git\libexec\git-core;2.配置...
2019-02-01 17:16:07
999
转载 既然Java反射可以访问和修改私有成员变量,那封装成private还有意义么?
作者:大宽宽链接:https://www.zhihu.com/question/28161668/answer/518225224来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。简单来说,private并不是解决“安全”问题的。安全是指不让代码被非法看到/访问。但是只要人能拿到代码,总会有办法去查看和改变代码。其他答案提到反射可以用SecurityManage...
2019-02-01 15:46:36
1217
原创 selenium-笔记
D:\seleniumtesitndata>python --versionPython 3.6.3D:\seleniumtesitndata>pythonPython 3.6.3 (v3.6.3:2c5fed8, Oct 3 2017, 18:11:49) [MSC v.
2018-11-13 00:25:23
166
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人