Service Builder module not registered when using spring as dependency-injector

Issue

  • When dependency-injector="spring" is set in service.xml, the services are not getting registered in Liferay DXP 7.4.
  • The Liferay-Spring-Context: META-INF/spring line is missing from the generated service jar's MANIFEST.MF file and this causes the issue, therefore the services can not be called.

Environment

  • Liferay DXP 7.4
  • Liferay Workspace version lower than 3.4.41

Resolution

  • Use at least Liferay Workspace version 3.4.41
    • Upgrade blade with the command of blade upgrade and create a new workspace, or
    • Set the version in settings.gradle file, and rebuild the service builder module
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0