Maven Error: (repeated) java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

后端 未结 6 664
温柔的废话
温柔的废话 2021-02-08 10:38

Have to ask again. Someone thought it was a duplicate question and already answered and removed it from the list.

I\'m using maven (mvn) batch command with windows (not

6条回答
  •  终归单人心
    2021-02-08 11:14

    I manage manually my jdk and was getting this error with openjdk-8. I replaced the cacerts with the one of the openjdk-11 and it worked just fine. If you try this, make sure to backup your cacerts first.

提交回复
热议问题