摘要: tomcat启动红色警告,虽然没影响项目启动运行,但是看着很不爽啊,得搞一波。 严重: Unable to process Jar entry [module-info.class] from Jar [jar:file:/D:/maven/repository/com/fasterxml/jack 阅读全文
posted @ 2021-11-12 11:24 西府海棠de 阅读(1773) 评论(0) 推荐(0) 编辑
摘要: //数据库blob字段 InputStream msgContent = rs1.getBlob("yac173").getBinaryStream(); BufferedImage sourceImg=ImageIO.read(msgContent); int width=sourceImg.ge 阅读全文
posted @ 2020-06-29 15:07 西府海棠de 阅读(1086) 评论(0) 推荐(0) 编辑
摘要: public static String blobToBase64(Blob blob) { String result = ""; if (null != blob) { try { InputStream msgContent = blob.getBinaryStream(); ByteArra 阅读全文
posted @ 2020-06-28 16:38 西府海棠de 阅读(674) 评论(0) 推荐(0) 编辑
摘要: 安装redis忽略,对redis加密码,增加安全性 在redis.config 里面添加requirepass passWord(密码内容) 然后绑定本机ip (bind 127.0.0.1)如下 (未实验) 修改 redis.conf 文件,添加密码 requirepass passWord(密码 阅读全文
posted @ 2020-04-03 10:37 西府海棠de 阅读(1096) 评论(0) 推荐(0) 编辑
摘要: import java.awt.Color; public class YanSeFormat { // 颜色码转为color对象 public static Color StringToColor(String str) { int i = Integer.parseInt(str.substri 阅读全文
posted @ 2020-03-31 15:42 西府海棠de 阅读(750) 评论(0) 推荐(0) 编辑
摘要: import org.apache.commons.codec.binary.Base64; import javax.crypto.Cipher; import java.security.KeyFactory; import java.security.KeyPair; import java. 阅读全文
posted @ 2020-03-16 16:50 西府海棠de 阅读(599) 评论(0) 推荐(0) 编辑
摘要: //登录管理员用户sqlplus system/123456@orcl? //创建用户create user 用户名 identified by 密码;例子:create user xxzx_sccard identified by xxzx2019; //新建表空间并设置表空间大小、自增长crea 阅读全文
posted @ 2020-01-06 16:07 西府海棠de 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 一、需求 数据库有个表car,需要为这个表建立一个视图view_car,并新建一个用户user01,赋予查询这个视图的权限 二、实施步骤 1、以管理员clgl登陆数据库,新建视图view_car: create or replace view view_car as select * from CA 阅读全文
posted @ 2020-01-06 15:32 西府海棠de 阅读(3935) 评论(0) 推荐(0) 编辑
摘要: public String sendPost_body(String arl, String s) { // 创建url资源 OutputStreamWriter out = null; URL url; BufferedReader in = null; StringBuilder result 阅读全文
posted @ 2019-12-26 14:25 西府海棠de 阅读(7496) 评论(0) 推荐(1) 编辑
摘要: Calendar cal = Calendar.getInstance(); cal.set(Calendar.YEAR, 2019); cal.set(Calendar.MONTH, 11); cal.set(Calendar.DAY_OF_MONTH,cal.getActualMaximum(C 阅读全文
posted @ 2019-12-26 14:21 西府海棠de 阅读(1812) 评论(0) 推荐(0) 编辑