xnio坑
发表于|更新于
|浏览量:
恶名不治,恶伤可治——佚名
今天拉取StreamPark发现其引用了xnio
并且项目运行时抛出了nvalid file path的异常提示
发现源码部分:

其去寻找了NUL:这个路径
1 | new FileOutputStream("NUL:") |
解决方式:
启动参数带上-Djdk.io.File.enableADS=true:
1 | -Djdk.io.File.enableADS=true -Dapp.home=streamx-console/streamx-console-service/target/streamx-console-service-1.2.4 |

如果没有这一栏,可以在右侧蓝字Modify options开启

相关推荐
2023-09-06
apache-incubator-streampark源码编译本地运行(六)
天行健,君子以自强不息。——《周易》 欢迎收看大型连续剧《apache-incubator-streampark源码编译本地运行》,介绍我的踩坑史 apache-incubator-streampark源码编译本地运行 apache-incubator-streampark源码编译本地运行(二) apache-incubator-streampark源码编译本地运行(三) apache-incubator-streampark源码编译本地运行(四) apache-incubator-streampark源码编译本地运行(五) 今天更新到第六集 直接启动项目报错: 123/Users/achao/IdeaProjects/incubator-streampark/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/controller/ApplicationBuildPipelineController.java:113:2`)' ...
2023-01-24
spring caching
凡事必须要有统一和决断,因此,胜利不站在智慧的一方,而站在自信的一方。——拿破仑 官方文档:https://spring.io/guides/gs/caching/ 引入依赖: 1234<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</artifactId></dependency> 准备一个Book类 12345678910111213141516171819202122232425262728293031323334package com.example.caching;public class Book { private String isbn; private String title; public Book(String isbn, String title) { this.isbn = isbn; ...
2022-09-27
graphql-java
不会哭的年轻人是野蛮人,不想笑的老年人是傻瓜——桑塔亚娜 前两天写了graphql的简单介绍博客 今天来拿java简单入个门,首先新建一个项目,因为我这里是用我自己熟悉的方式去写,所以包含了一些看不懂的写法,过两天在写一个保姆级教程 项目地址:https://gitee.com/VampireAchao/simple-graphql 运行springboot主启动类,然后访问 http://localhost:8080/ 可以看到这样一个页面 我们可以在左侧编写graphql的查询语句,点击运行按钮,比如分页查询用户 123456789101112131415{ users(current: 1, size: 2) { current size total records { id name roles { id roleName } } }} 这里这些字段如果不清楚,可以点右侧的Docum...
2022-05-28
mvn一键换版本
一条路并不因为它路边长满荆棘而丧失其美丽,旅行者照旧向前进。——罗曼·罗兰 命令: 1mvn versions:set -DnewVersion=[版本号] 例如 1mvn versions:set -DnewVersion=0.0.1 即可
2020-11-18
使用stream流连接两个list
生命如同寓言,其价值不在于长短,而在于内容—— 塞涅卡 1234567List<Integer> integerList = Arrays.stream(new int[]{1, 2, 3}).boxed().collect(Collectors.toList());List<Integer> collect = Stream.concat(integerList.stream(), integerList.stream()).collect(Collectors.toList());collect.forEach(System.out::print);System.out.println();collect = Stream.of(integerList, integerList).flatMap(List::stream).collect(Collectors.toList());collect.forEach(System.out::print);System.out.println();
2022-09-13
mysql单条sql批量更新封装
要成就大事业,就要趁青年时代——歌德 之前写了:mysql单条sql批量新增封装 现在写个批量更新的,源码地址 目前还不支持乐观锁,主要代码如下: 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586package io.github.vampireachao.stream.plugin.mybatisplus.engine.methods;import com.baomidou.mybatisplus.core.injector.AbstractMethod;import com.baomidou.mybatisplus.core.metadata.TableInfo;import com.baomidou.mybatisplus.core.toolkit.sql.SqlScriptUtils;impor...

阿超
我的名字叫阿超 年龄25岁 家在北京市 职业是软件开发 每天最晚也会在八点前回家 不抽烟 酒浅尝辄止 晚上十二点上床 保证睡足八个小时 睡前写一篇博客 再做二十分钟俯卧撑暖身 然后再睡觉 基本能熟睡到天亮 像婴儿一样不留下任何疲劳和压力 就这样迎来第二天的早晨 健康检查结果也显示我很正常 我想说明我是一个不论何时都追求内心平稳的人 不拘泥于胜负 不纠结于烦恼 不树立使我夜不能寐的敌人 这就是我在这社会的生活态度
Follow Me公告
This is my Blog