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

后端 未结 6 662
温柔的废话
温柔的废话 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:00

    The fact that the invalid parameter in the environment was not overruled with the trustStore setting on the commandline, was probably due to the fact that there is a typo in your commandline. It says:

    -Djava.net.ssl.trustStore=...
    

    But this should have been:

    -Djavax.net.ssl.trustStore=...
    

提交回复
热议问题