<?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>Service builder jndi schema not working .</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121394571" />
  <subtitle>Service builder jndi schema not working .</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121394571</id>
  <updated>2026-04-07T01:51:51Z</updated>
  <dc:date>2026-04-07T01:51:51Z</dc:date>
  <entry>
    <title>RE: Service builder jndi schema not working .</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121401275" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121401275</id>
    <updated>2022-04-18T20:56:37Z</updated>
    <published>2022-04-18T20:56:36Z</published>
    <summary type="html">&lt;p&gt;Hi Mabetha, I don't know if this is the extent of the issue, but I
  believe 7.3-ga6 needs to be udpated to 7.3-ga8 for the
  liferay.workspace.product value.&lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2022-04-18T20:56:36Z</dc:date>
  </entry>
  <entry>
    <title>Service builder jndi schema not working .</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121394570" />
    <author>
      <name>Mabetha Chokwe</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121394570</id>
    <updated>2022-04-08T16:23:07Z</updated>
    <published>2022-04-07T09:15:41Z</published>
    <summary type="html">&lt;p&gt;Good Day&lt;/p&gt;
&lt;p&gt;I have recently migrated my service builder from 7.0.6 to 7.3 which
  had a custom database schema configured.&lt;/p&gt;
&lt;p&gt;I discoverd that when using the liferay dependancy below, the
  services are null and cannot be injected using the @Reference anotation&lt;/p&gt;
&lt;pre&gt;
compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name: &amp;quot;release.portal.api&amp;quot;&lt;/pre&gt;
&lt;p&gt;in my gradle.properties I use:&lt;/p&gt;
&lt;pre&gt;
liferay.workspace.product=portal-7.3-ga6&lt;/pre&gt;
&lt;p&gt;My solution was to use th dependancies below:&lt;/p&gt;
&lt;pre&gt;
compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.petra.io&amp;quot;
compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.petra.lang&amp;quot;
compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.petra.string&amp;quot;
compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.portal.aop.api&amp;quot;
compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name: &amp;quot;com.liferay.portal.kernel&amp;quot;
compileOnly group: &amp;quot;org.osgi&amp;quot;, name: &amp;quot;org.osgi.annotation.versioning&amp;quot;
compileOnly group: &amp;quot;org.osgi&amp;quot;, name: &amp;quot;org.osgi.core&amp;quot;
compileOnly group: &amp;quot;org.osgi&amp;quot;, name: &amp;quot;org.osgi.service.component.annotations&amp;quot;
compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.petra.sql.dsl.api&amp;quot;
compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.portal.spring.extender.api&amp;quot;
compileOnly group: &amp;quot;com.liferay&amp;quot;, name: &amp;quot;com.liferay.portal.spring.extender.impl&amp;quot;

&lt;/pre&gt;
&lt;p&gt;In my gradle.properties i use :&lt;/p&gt;
&lt;pre&gt;
liferay.workspace.target.platform.version = 7.3.6&lt;/pre&gt;
&lt;p&gt;My Question is why the service builder not working when using the
  first scenario&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Mabetha Chokwe</dc:creator>
    <dc:date>2022-04-07T09:15:41Z</dc:date>
  </entry>
</feed>
