A confusing issue or Bug in liferay 7.2 Service BuilderA confusing issue or Bug in liferay 7.2 Service Builderhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1194270072024-03-28T21:21:06Z2024-03-28T21:21:06ZA confusing issue or Bug in liferay 7.2 Service BuilderNader Jafarihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1194270062020-06-17T17:35:59Z2020-06-17T17:35:59Z<html><head></head><body>Hi guys<br>I am testing liferay 7.2.1 build service to moving some modules to this new environment<br>So i just create a liferay work space with running blade command as below :<br><pre><code>blade init -v 7.2
</code></pre><br>Then i create a sample Foo module with type service-builder in Intelij IDEA.<br>Next i just ran the buildService gradle task under the Sample module.<br>may service.xml is as below :<br><pre><code><service-builder dependency-injector="ds" package-path="com.liferay.sample">
</service-builder ></code></pre><br>As you see dependency-injector is set to ds so i should not have any @ServiceReference Or @BeanReference in Service classes!<br><br>But i have @ServiceReference Or @BeanReference.<br><br>As Liferay said in below article we just replace this annotation to @Reference manually!<br><a href="https://help.liferay.com/hc/en-us/articles/360032624732-Migrating-a-Service-Builder-Module-from-Spring-DI-to-OSGi-DS#step">https://help.liferay.com/hc/en-us/articles/360032624732-Migrating-a-Service-Builder-Module-from-Spring-DI-to-OSGi-DS#step</a>-1-prepare-your-project-for-ds<br><strong>is it Ok? </strong><br><strong>I should do this replacement manually on every running build-service !?</strong></body>&l