Wesley13 Wesley13
4年前
java类main方法执行AES算法
java.security.NoSuchAlgorithmException:CannotfindanyprovidersupportingAESatjavax.crypto.Cipher.getInstance(Cipher.java:453)   直接在命令行执行java类,如果其中包含AES等的算法api的使用,会抛
Wesley13 Wesley13
4年前
eclipse中不能找到dubbo.xsd解决方法
使用dubbo时遇到问题:org.xml.sax.SAXParseException: schema\_reference.4: Failed to read schema document 'http://code.alibabatech.com/schema/dubbo/dubbo.xsd', because 1) could not f
CuterCorley CuterCorley
4年前
Python Django开发 经验技巧总结(一)
1.前后台的数据传递viewHTML:使用Django模版views.py代码:pythonfromdjango.shortcutsimportrenderdefmain_page(request):data1,2,3,4returnrender(request,'index.html',{'data
Stella981 Stella981
4年前
Spring Security入门(基于SSM环境配置)
一、前期准备配置SSM环境二、不使用数据库进行权限控制配置好SSM环境以后,配置SpringSecurity环境1.添加security依赖   <dependency     <groupIdorg.springframework.security<
Wesley13 Wesley13
4年前
Java中多个集合的交集,并集和差集
一、交集  java中交集使用A.retainAll(B),交集的结果在集合A中。1importorg.junit.Test;23importjava.util.HashSet;4importjava.util.Set;56/7交集
Stella981 Stella981
4年前
Docker系列教程08
本节通过几个例子,来工具Dockerfile的知识。实战1:使用Dockerfile修改Nginx首页创建一个Dockerfile,内容如下:1.FROMnginx2.RUNecho'<h1Spri
Stella981 Stella981
4年前
Docker 搭建 ELK 集群步骤
前言本篇文章主要介绍在两台机器上使用Docker搭建ELK。正文环境CentOS7.7系统Dockerversion19.03.8dockercomposeversion1.23.2系统设置vim编辑/etc/secur
Stella981 Stella981
4年前
Json乱码解决统一代码
我们在springmvc中使用json经常出现乱码格式 如下图:!(https://img2018.cnblogs.com/ibeta/1851833/201911/185183320191127195659745157443638.png)我们可以在@RequestMapping()中配置,produces"application
Wesley13 Wesley13
4年前
oracle语句中把一列的值合并为一个值,用逗号隔开
1、所有版本的Oracle都可以使用wm\_concat()函数:SELECTpos\_preeqid,wmsys.wm\_concat(to\_char(wkid))FROMworkerwherepos\_preeqid62andwkid<40000GROUPBYpos\_preeqid;!(https://oscimg.
Easter79 Easter79
4年前
SpringBoot集成Redis
配置自定义的RedisCacheManager1自定义键生成规则默认的键生成器当不指定缓存的key时,SpringBoot会使用SimpleKeyGenerator生