RE: Build from source failed

thumbnail
Nader Jafari, modified 6 Years ago. Junior Member Posts: 84 Join Date: 8/24/11 Recent Posts
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 :
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?
thumbnail
Zoltán Takács, modified 6 Years ago. New Member Posts: 7 Join Date: 7/12/12 Recent Posts
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
thumbnail
Nader Jafari, modified 6 Years ago. Junior Member Posts: 84 Join Date: 8/24/11 Recent Posts
Thank you for quickly reply.