Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Build from source failed
Hi guys
i cloned liferay commerce repo from github and checked out 7.1.x branch.
when i run ./gradlew deploy -Dbuild.profile=portal successfuly.
all modules copied to osgi/modules and i cleared state folders.
when i started tomcat some errors shows in log :
i deleted com.liferay.headless.*.jar files and this issue was resolved.
what is headless modules ?
it is required in commerce projects?
i cloned liferay commerce repo from github and checked out 7.1.x branch.
when i run ./gradlew deploy -Dbuild.profile=portal successfuly.
all modules copied to osgi/modules and i cleared state folders.
when i started tomcat some errors shows in log :
2019-04-26 07:28:13.683 ERROR [main][ModuleFrameworkImpl:1713] Unable to start bundle com.liferay.headless.commerce.admin.catalog.api
org.osgi.framework.BundleException: Could not resolve module: com.liferay.headless.commerce.admin.catalog.api [375]_ Unresolved requirement: Import-Package: com.liferay.portal.vulcan.pagination; version="[1.0.0,2.0.0)"_ [Sanitized]
i deleted com.liferay.headless.*.jar files and this issue was resolved.
what is headless modules ?
it is required in commerce projects?
Hi Nader,
Those headless modules are still in development phase and will provide the REST APIs for Commerce in one of the upcoming release. Currently 7.1.x branch is being developed and requires new unpublished modules from the core Liferay DXP 7.1 (portal.vulcan related packages) which will be shipped later in a fix pack or a GA portal release.
You can safely ignore those headless modules, or delete them if you want for the time being.
Regards,
Zoltán
Those headless modules are still in development phase and will provide the REST APIs for Commerce in one of the upcoming release. Currently 7.1.x branch is being developed and requires new unpublished modules from the core Liferay DXP 7.1 (portal.vulcan related packages) which will be shipped later in a fix pack or a GA portal release.
You can safely ignore those headless modules, or delete them if you want for the time being.
Regards,
Zoltán
Thank you for quickly reply.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™