<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Error while building service builder in DXP 7.4</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121595076" />
  <subtitle>Error while building service builder in DXP 7.4</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121595076</id>
  <updated>2026-10-15T11:16:42Z</updated>
  <dc:date>2026-10-15T11:16:42Z</dc:date>
  <entry>
    <title>RE: RE: Error while building service builder in DXP 7.4</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121614569" />
    <author>
      <name>尚志 岸根</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121614569</id>
    <updated>2022-12-15T17:54:31Z</updated>
    <published>2022-12-15T00:29:32Z</published>
    <summary type="html">&lt;pre id="tw-target-text"&gt;
Thank you very much. I respect and thank you from the bottom of my heart. It was very helpful.&lt;/pre&gt;</summary>
    <dc:creator>尚志 岸根</dc:creator>
    <dc:date>2022-12-15T00:29:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error while building service builder in DXP 7.4</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121604641" />
    <author>
      <name>Prasad Vallabhaneni</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121604641</id>
    <updated>2022-12-14T16:36:55Z</updated>
    <published>2022-12-14T14:09:05Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To resolve the above issue we need to update the gradle plugin
  workspace version to 4.0.19 in settings.gradle of workspace to resolve
  the service builder issue.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;classpath(group: &amp;quot;com.liferay&amp;quot;, name:
    &amp;quot;com.liferay.gradle.plugins.workspace&amp;quot;, version: &amp;quot;4.0.19&amp;quot;) &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Prasad Vallabhaneni&lt;/p&gt;</summary>
    <dc:creator>Prasad Vallabhaneni</dc:creator>
    <dc:date>2022-12-14T14:09:05Z</dc:date>
  </entry>
  <entry>
    <title>Error while building service builder in DXP 7.4</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121595075" />
    <author>
      <name>Prasad Vallabhaneni</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121595075</id>
    <updated>2022-12-02T19:28:34Z</updated>
    <published>2022-12-02T13:24:21Z</published>
    <summary type="html">&lt;p&gt;Dear Team,&lt;/p&gt;
&lt;p&gt;We have created a simple service builder and when we try to build the
  service builder in liferay-dxp-7.4.13.u51 (EE) version with Liferay
  Developer Studio it is giving the below errors&lt;/p&gt;
&lt;blockquote&gt;

  &lt;p&gt;D:\Liferay\modules\test-service\test-service-service\src\main\java\test\service\service\persistence\impl\FooPersistenceImpl.java:2425:
    error: method getResult in interface FinderCache cannot be applied
    to given types;&lt;br /&gt;         Long count =
    (Long)finderCache.getResult(&lt;br /&gt;                                  
        ^&lt;br /&gt;   required:
    FinderPath,Object[],BasePersistence&amp;lt;?&amp;gt;&lt;br /&gt;   found:
    FinderPath,Object[]&lt;br /&gt;   reason: actual and formal argument lists
    differ in length &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;--- By adding the 3rd parameter as null it is working fine, but as a
  default service builder we cann't do everytime to add the extra
  parameter that is not a good practice to do as well.&lt;/p&gt;
&lt;p&gt;--- If there are any patchfix or bugfix avilable, please let us know.
  Appreciate your kind help.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt; Prasad Vallabhaneni&lt;/p&gt;</summary>
    <dc:creator>Prasad Vallabhaneni</dc:creator>
    <dc:date>2022-12-02T13:24:21Z</dc:date>
  </entry>
</feed>
