scubacabra / gradle-wsdl-plugin

Gradle plugin that helps with using WSDL files and generating their WARs
GNU General Public License v2.0
12 stars 7 forks source link

Missing certificate to requested taget #18

Open rasmusviben opened 6 years ago

rasmusviben commented 6 years ago

Im facing an issue when trying to apply this plugin. Seems that I'm missing a valid certificate, but I've exported and generated the certificate from https://plugins.gradle.org/m2/com/github/jacobono/gradle-xsd-wsdl-slurping/1.1.2/gradle-xsd-wsdl-slurping-1.1.2.pom into my jre/lib/security folder.

Although it still won't apply it. This error still occurs:

Could not resolve com.github.jacobono:gradle-xsd-wsdl-slurping:1.1.2. Required by: project : > com.github.jacobono:gradle-wsdl-plugin:1.7.7 Could not resolve com.github.jacobono:gradle-xsd-wsdl-slurping:1.1.2. Could not get resource 'https://plugins.gradle.org/m2/com/github/jacobono/gradle-xsd-wsdl-slurping/1.1.2/gradle-xsd-wsdl-slurping-1.1.2.pom'. Could not GET 'https://plugins.gradle.org/m2/com/github/jacobono/gradle-xsd-wsdl-slurping/1.1.2/gradle-xsd-wsdl-slurping-1.1.2.pom'. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Can anyone explain or direct me to the solution? Is the URL for the certificate wrong, or?

Thanks!

amitgoyal1310 commented 5 years ago

Is there any solution on this. I am facing this too.