现象 读取不到证书文件 证书文件变大 解决方案 读取不到证书文件 由于是springboot项目,部署时打包成jar启动,无法获取到有效的证书文件地址。解决方案:首次访问时从jar中提取证书文件到当前目录中,代码如下: /** * 获取jar包中证书文件地址 * * @param fileName ...
分类:
编程语言 时间:
2021-03-18 14:18:03
阅读次数:
0
在新的springboot项目中,如果在mybatis中使用了ehcache后,再第二次使用ehcache,会提示错误 Another CacheManager with same name 'default' already exists in the same VM. Please provid ...
分类:
编程语言 时间:
2021-03-18 13:59:58
阅读次数:
0
java 关键字 数据类型:boolean、int、long、short、byte、float、double、char、class、interface。 流程控制:if、else、do、while、for、switch、case、default、break、continue、return、try、c ...
分类:
编程语言 时间:
2021-03-17 14:43:39
阅读次数:
0
create table TbStudent(stuid integer not null,stuname varchar(20) not null,stusex bit default 1,stubirth datetime not null,stutel char(11),stuaddr var ...
分类:
其他好文 时间:
2021-03-16 13:47:22
阅读次数:
0
打开settings->Editor->File Encodings,设置Global Encoding和Project Encoding还有Default encoding for properties Files为UTF-8 找到idea安装目录下bin文件夹下的idea.exe.vmoptio ...
分类:
其他好文 时间:
2021-03-15 11:34:17
阅读次数:
0
USE TESTGO --紧急联系人--删除原有约束--ALTER TABLE test drop constraint DF_TEST_JJLXR --添加约束ALTER TABLE test add constraint DF_TEST_JJLXR DEFAULT '' for JJLXR -- ...
分类:
数据库 时间:
2021-03-12 14:40:49
阅读次数:
0
前端更新迭代太快,特此记录学习中遇到的一些知识点 知识点也特别多,最近又在使用vue开发项目,在项目中成长,感觉代码是真的菜,后面需要重新优化 一 export const sum=12 import {sum} from xxx alert(sum) 二 const sum=12 export s ...
分类:
其他好文 时间:
2021-03-11 19:54:35
阅读次数:
0
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'consoleConfig': Injection of autowired dependencies failed; ne ...
分类:
其他好文 时间:
2021-03-09 13:43:34
阅读次数:
0
一 资产入库处理 1.1 连接数据库 在192.168.100.101安装数据库,并给总控机授权可以操作,并创建一个autoserver的数据库,密码123456 settiing.py 配置数据库连接 DATABASES = { 'default': { 'ENGINE': 'django.db. ...
分类:
数据库 时间:
2021-03-09 13:41:36
阅读次数:
0
1. Grid: by default showing content in Y axis (column), Flex: by default showing content in X axis. Exp: If you want to style a header.. you can use f ...
分类:
Web程序 时间:
2021-03-09 13:32:34
阅读次数:
0