FULaBUla

Results 20 comments of FULaBUla

> 比较奇怪的问题, 能否把gradle文件也发一下, 像是两个不同的classloader引入 的问题 这是我的 gradle 配置文件,因为上传不支持 .gradle 格式,所以打了个压缩包 [build.zip](https://github.com/jhunters/jprotobuf/files/6097070/build.zip)

> > > > @wqq0712 Thanks for good information. > > I have meet this problem with x86-64 server and Open JDK 8u222 > > So, I think aarch64 and...

Is there anything I would like to change about this branch? @gavinking

> I've tested this with my [sample Spring Boot app](https://github.com/thelateperseus/spring-boot-bouncy-castle) and it works now. I had to change the Spring Boot version in `build.gradle` to 2.6.9 and add this section...

> 这个问题归根来说还是,jce中Security文件中缺少这个,而您说的方案是运行前临时假如环境变量,虽然是可行的,但是某些打包环境下,还是会出现问题,最好的办法还是部署时候加个环境变量,修改下Security文件 可惜 java17 没有 security 文件,之前确实想改来着

> 我的是有的? > […](#) > ---原始邮件--- 发件人: ***@***.***> 发送时间: 2022年9月26日(周一) 晚上7:02 收件人: ***@***.***>; 抄送: ***@***.******@***.***>; 主题: Re: [dromara/hutool] Linux 环境下 java17 使用 Bouncy Castle 做加解密会出现 JCE cannot authenticate the provider...

> @FULaBUla 看下这个地方 ![image](https://user-images.githubusercontent.com/24296698/192465035-f9dce824-cfab-443a-b9a0-45762194e941.png) 啊,![29500B87](https://user-images.githubusercontent.com/46469068/192520349-82e2161e-9e34-4ac4-9c0f-c6096bd154be.png)尴尬了,看来是之前找错地方了。谢谢啦

> @FULaBUla 看下这个地方 ![image](https://user-images.githubusercontent.com/24296698/192465035-f9dce824-cfab-443a-b9a0-45762194e941.png) 我发现 jdk17 禁用了 ext,配置完了 security 文件后不知道应该把那个 jar 放在哪里,如果只配置不做别的操作,直接 springboot 打包运行还是会报错

// https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on implementation 'org.bouncycastle:bcpkix-jdk18on:1.77' 可以试试这个版本 @looly @oniubi 应该是可以了