请问下您的DockerFile怎么配置的?
如何解决JDK17,V2支付回调BC验签报错?升级oracle jdk17.0.8 + springboot3.06后,微信支付退款回调报错: java.lang.RuntimeException: 解密出错:JCE cannot authenticate the provider BC at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) 此问题有可行的解决方案吗
2023-12-12同样的问题dockerfile配置如下,springboot3.1的死活不行 FROM openjdk:17-jdk-slim FROM maven:3.8.3-openjdk-17-slim as build WORKDIR /app COPY src /app/src COPY settings.xml pom.xml /app/ RUN mvn -s /app/settings.xml -f /app/pom.xml clean package FROM alpine:3.17.0.103-r0 Asia/Shanghai > /etc/timezone RUN apk add ca-certificates name=php8*imagick*&branch=v3.13)查找。 RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories \ && apk add --update --no-cache openjdk17-jre \ && rm -f /var/cache/apk/* WORKDIR /app COPY --from=build /app/target/*.jar . EXPOSE 80 ENV JAVA_HOME=/usr/lib/jvm/default-jvm ENV PATH=$PATH:$JAVA_HOME/bin CMD ["java", "-jar", "/app/campus-shopping-mall.jar"]
gradle 构建的springboot项目,微信云托管部署时总是connection reset?如题,使用的gradle jdk 17, springboot, dockerfile, 本地工作,云托管部署总是不成功,在gradle build的时候依赖下载不下来,总是connection reset, 错误如下图,求指点: [图片]
2023-12-12