<?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>Bean Locator is null problem in Service builder  Liferay 7</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110618061" />
  <subtitle>Bean Locator is null problem in Service builder  Liferay 7</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110618061</id>
  <updated>2026-04-06T18:31:25Z</updated>
  <dc:date>2026-04-06T18:31:25Z</dc:date>
  <entry>
    <title>Bean Locator is null problem in Service builder  Liferay 7</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110618060" />
    <author>
      <name>Areti Srihari</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110618060</id>
    <updated>2018-07-21T07:18:39Z</updated>
    <published>2018-07-21T07:18:39Z</published>
    <summary type="html">&lt;p&gt;I have just created MVCportlet and to perform CRUD operations in same
  portlet I created service.xml and generated services. Everything is
  fine. But when I am trying to access services I am getting exception
  like this...&lt;/p&gt;
&lt;p&gt;07:17:47,932 INFO  [http-nio-9080-exec-6][ActionURLByPortletTag:42]
  before addstudent() st&lt;br /&gt; 07:17:47,933 ERROR
  [http-nio-9080-exec-6][PortletBeanLocatorUtil:42] BeanLocator is null
  for servlet context LiferayPhases_portlet-portlet&lt;br /&gt;
  com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is
  not set for servlet context LiferayPhases_portlet-portlet&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Could anyone please give the reply.&lt;/p&gt;</summary>
    <dc:creator>Areti Srihari</dc:creator>
    <dc:date>2018-07-21T07:18:39Z</dc:date>
  </entry>
</feed>
