上一页 1 2 3 4 5 6 7 8 9 ··· 37 下一页

Springboot 整合WebFlux 实现RESTFUI风格API 及简单的CRUD

摘要: 这里简单介绍下springboot整合webFlux(入门) ,使用netty通信。 首先是创建一个springboot项目,这里就不介绍怎么创建了。 接下来是导入依赖包: org.springframework.boot spri... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(276) 评论(0) 推荐(0)

JAVA 最常用实用的正则表达式校验

摘要: 正则表达式校验工具类; import java.util.regex.Pattern;/** * @Author:JCccc * @Description: 常用正则表达式校验工具类 * @Date: */public class RegExUtil { ... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(1766) 评论(0) 推荐(0)

IDEA @AutoWired注入bean 出现红色波浪线

摘要: 出现此问题只是idea自身检测的问题,这不是bug,不影响项目运行。 去除该情况的红色波浪线: 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(130) 评论(0) 推荐(0)

mysql 错误:The driver has not received any packets from the server.

摘要: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the serv... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(821) 评论(0) 推荐(0)

Springboot中使用GSON报错 An attempt was made to call the method com.google.gson.GsonBuilder.setLenient

摘要: 错误如下: Description: An attempt was made to call the method com.google.gson.GsonBuilder.setLenient()Lcom/google/gson/GsonBuilder; ... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(253) 评论(0) 推荐(0)

Springboot 最简单的结合MYSQL数据实现EXCEL表格导出及数据导入

摘要: 前言 嗯,今天如题,给大家介绍下最最最简单的实现excel导入导出的功能,功能简单叙述: 导入:读取本地的excel表格,将里面的内容都插入对应的数据库表(批量插入) 导出:读取数据库表内容,将其导出到excel文件 进入正题前,还是啰嗦一下,为啥要做一个这样... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(404) 评论(0) 推荐(0)

JAVA 8 Stream优雅使用结合实战分析

摘要: 案例: 将下面提供的List做处理,打印出以下输出 : {a=[{a=1111}, {a=111}, {a=11}, {a=1}], b=[{b=222}, {b=22}, {b=2}], c=[{c=3}, {c=1}]} 或 {a=[a=1111, a=1... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(76) 评论(0) 推荐(0)

JAVA 8 Stream 常用操作

摘要: Stream 常用操作 allMatch 使用给定的 Predicate 检查 Stream 中的所有元素,全部都通过检测则返回 true,否则 false 。 System.out.println(Stream.of(1,2,3).allMatch(n ->... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(115) 评论(0) 推荐(0)

运行ElasticSearch报错:NoNodeAvailableException[None of the configured nodes are available

摘要: 2019-06-13 19:27:14.603 ERROR 13744 --- [ restartedMain] .d.e.r.s.AbstractElasticsearchRepository : failed to load elasticsearch ... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(264) 评论(0) 推荐(0)

运行ElasticSearch报错:uncaught exception in thread [main] org.elasticsearch.bootstrap.StartupException

摘要: 报错原因: 网上说法统一,ElasticSearch为了安全起见,不允许以root用户登录,切换其他系统用户即可。 解决方案一: 就是创建一个额外的用户,并赋予权限,然后切换这个用户来运行ElasticSearch。 解决方案二: 以管理员身份运行... 阅读全文
posted @ 2022-11-08 07:36 小目标青年 阅读(745) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 37 下一页