留言板

pom.xml created while cretaing Service Buider in Liferay 7

thumbnail
Ankit Arora,修改在7 年前。

pom.xml created while cretaing Service Buider in Liferay 7

New Member 帖子: 3 加入日期: 17-2-1 最近的帖子
Hi I am getting pom.xml while creating a service buider in Liferay 7 but when i tried it at different system i did the same task i didn't get any pom.xml .
also i found one error while i use build-service .


Working Directory: C:\LiferayDxp\LiferayDemo\modules\product
Gradle User Home: C:\Users\494552\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 3.0
Java Home: C:\Program Files\Java\jdk1.8.0_121
JVM Arguments: None
Program Arguments: None
Gradle Tasks: buildService

:modules:product:product-service:buildService FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':modules:product:product-service:buildService'.
> Could not resolve all dependencies for configuration ':modules:product:product-service:serviceBuilder'.
> Could not resolve com.liferay:com.liferay.portal.tools.service.builder:1.0.133.
Required by:
com.test.product:product-service:1.0.0
> Could not resolve com.liferay:com.liferay.portal.tools.service.builder:1.0.133.
> Could not get resource 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.portal.tools.service.builder/1.0.133/com.liferay.portal.tools.service.builder-1.0.133.pom'.
> Could not GET 'https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.portal.tools.service.builder/1.0.133/com.liferay.portal.tools.service.builder-1.0.133.pom'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.432 secs


Note:- Any alternative solution if i do not have internet connection every time. is there any specific jar that would permanently resolve these dependency download issue