を使用してWSDLからクライアントjarファイルを生成:問題私はこのようなAntのビルドファイルを使用してWSDLからクライアントjarファイルを生成しようとしていたAnt
<target name="generateWSClient">
<setproxy proxyhost="proxy" proxyport="port" />
<wsimport wsdl="https://mywsdl" destdir="${build.dir}/clientclasses"
verbose="true" package="com.locationservice.client">
</wsimport>
<jar destfile="${build.dir}/${lis.jar.name}"
basedir="${build.dir}/clientclasses" />
<javac srcdir="${src.dir}" destdir="${build.dir}/clientclasses"
includes="com/locationservice/client/*.java">
<classpath refid="client.classpath" />
</javac>
</target>
しかし、私はAntの実行時に、私はこの例外を取得しています:
を[wsimport] parsing WSDL...
[wsimport] [ERROR] sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[wsimport] Failed to read the WSDL document: https://mywsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
[wsimport] [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):
[wsimport] At least one WSDL with at least one service definition needs to be provided.
[wsimport] Failed to parse the WSDL.
これを解決する方法の指針はありますか?