![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 55
。哲
这个作者很懒,什么都没留下…
展开
-
camunda流程迁移
camunda流程迁移原创 2022-12-30 16:35:03 · 830 阅读 · 1 评论 -
Apache log4j漏洞复现
Apache Log4j2是一款优秀的Java日志框架。2021年11月24日,阿里云安全团队向Apache官方报告了Apache Log4j2远程代码执行漏洞。由于Apache Log4j2某些功能存在递归解析功能,攻击者可直接构造恶意请求漏洞只针对的是2.15以下版本的现在我们来重现一下log4j的漏洞public class Log4jTest { private static final Logger log = LogManager.getLogger(); public s原创 2021-12-17 09:50:50 · 4070 阅读 · 0 评论 -
java爬虫爬取B站弹幕
首先创建一个maven项目,并导入Jsoup包` <dependencies> <dependency> <groupId>org.jsoup</groupId> <artifactId>jsoup</artifactId> <version>1.11.3</version> </depend.原创 2020-09-05 16:04:47 · 925 阅读 · 0 评论 -
HashMap1.8底层源码详解图
原创 2020-08-09 16:00:40 · 113 阅读 · 0 评论 -
Springboot使用put、delete请求报错405
Springboot使用put、delete请求报错SpringBoot给我们自动配置好了HiddenHttpMethodFilter,但是最近发现好像用不了,我用的是SpringBoot版本是2.2.2,默认配置被改成了false,也就是关闭了自动配置,不知道sprongboot什么鬼,坑!!!There was an unexpected error (type=Method Not Al...原创 2020-03-19 18:42:17 · 2632 阅读 · 2 评论 -
springBoot 启动 If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
**Springboot启动时报错 If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.**产生这个错误的原因是springboot的自动配置,如果你没有配置DataSource就会导致下图这个错误解决方案1@SpringBootApplication(exclude ...原创 2020-03-17 23:35:28 · 93354 阅读 · 26 评论 -
构建spring源码Plugin [id: io.spring.dependency-management,version: 1.0.5.RELEASE
Plugin [id: io.spring.dependency-management,version: 1.0.5.RELEASE, apply: false]wasnotfound在构建spring源码5.1.X中,导入idea报错,这是因为网络问题,你可以重新刷新试试,如果不行,就挂个则需要fanqiang,我是这样解决的,因为gradle仓库是国外的,会导致下载失败后续测试时可能会碰...原创 2020-02-25 16:50:21 · 7046 阅读 · 0 评论 -
SpringMVC上传文件enctype="multipart/form-data",表单数据获取不到问题
记录一下今天遇到的一个问题就是因为没有打@PathVariable(“files”),然后一直获取不到表单数据,这个files是上传表单的name不能打错,否则获取不到表单数据 @RequestMapping("uploadCard") public String uploadCard(@PathVariable("files") MultipartFile[] files, Inte...原创 2020-02-03 21:49:48 · 613 阅读 · 0 评论 -
com.sun.jersey.api.client.UniformInterfaceException
com.sun.jersey.api.client.UniformInterfaceExceptionPUT http://localhost:9090/upload/*.jpg returned a response status of 405 Method Not Allowed这种情况一般发生在tomcat上传文件上,是因为tomcat默认是禁止文件上传的需要修改tomcat的配置文件...原创 2020-02-03 21:07:29 · 448 阅读 · 0 评论