想要飞的小乌龟2022-08-04 技术文章 解决 swap file “*.swp”already exists!问题 先用linux 查询 ll -a临时文件然后删除rm -f 文件结尾为 swp的数据 2022-08-04 203 阅读 阅读全文
想要飞的小乌龟2022-08-04 技术文章 IDEA启动EDAS项目 一、下载EDAS配置中心这个有点像我们SpringCloud里的Eurake注册中心下载地址:点此官网地址:点此启动 edas配置中心:windows下点击 edas-lite-configcenter/bin 中的 startup.bat默认启动在 8080 端口 二、安装 Ali-To 2022-08-04 139 阅读 阅读全文
想要飞的小乌龟2022-08-04 技术文章 maven install时报错 找不到类的情况 1 报错[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project ly-item-interface: Compil 2022-08-04 146 阅读 阅读全文
想要飞的小乌龟2022-08-04 技术文章 Java8 stream 排序以及自定义比较器 1.使用Stream sorted()完成自然排序、比较器和反向排序 下面是sorted()方法的语法 sorted():它使用自然顺序对流中的元素进行排序。元素类必须实现Comparable接口。 sorted(Comparator<? super T> comparator):这里我们使用lambda表达式创建一个Comparator实例。我们可以按升序和降序对流元素进行排序。 2022-08-04 137 阅读 阅读全文