Hi,

Are you trying to download an artifact from an repository via https?

It seems, that your certificate is not valid for Java (e.g. it is an self 
signed certificate). Add your certificate to an keystore and pass that keystore 
to maven (e.g. -Djavax.net.ssl.trustStore=%M2_HOME%\conf\trust.jks in your 
MAVEN_OPTS)

Greetings Jens



-----Ursprüngliche Nachricht-----
Von: wang xiao [mailto:[email protected]] 
Gesendet: Donnerstag, 14. Oktober 2010 08:29
An: [email protected]
Betreff: Error transferring file: sun.security.validator.ValidatorException:

Hi,all

I don't know how to do it correctly.


the log as follows:


Error transferring file: sun.security.validator.ValidatorException: PKIX
path building failed: sun.security.provider.certpath.Sun

CertPathBuilderException: unable to find valid certification path to
requested t
arget


thanks
wang xiao

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to