<?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>Unable to get service bag for class BlogServiceOverride</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120713872" />
  <subtitle>Unable to get service bag for class BlogServiceOverride</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120713872</id>
  <updated>2026-04-04T21:40:03Z</updated>
  <dc:date>2026-04-04T21:40:03Z</dc:date>
  <entry>
    <title>Unable to get service bag for class BlogServiceOverride</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120713871" />
    <author>
      <name>Rushikesh Gawade</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120713871</id>
    <updated>2021-04-12T15:16:23Z</updated>
    <published>2021-04-12T13:10:30Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have overrided the Blog service wrapper. its work fine but when i
  restart the server i am getting this errors on logs and when i redploy
  only then this module get started. please provide your help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;2021-04-12 11:01:23.610 ERROR [main][ServiceWrapperRegistry:73]
  Unable to get service bag for class
  BlogServiceOverride.BlogServiceOverride&lt;br /&gt;java.lang.IllegalArgumentException&lt;br /&gt; 
        at
  com.liferay.registry.internal.RegistryImpl.getService(RegistryImpl.java:160)&lt;br /&gt; 
        at
  com.liferay.portal.deploy.hot.ServiceWrapperRegistry$ServiceWrapperServiceTrackerCustomizer._getServiceBag(ServiceWrapperRegistry.java:129)&lt;br /&gt; 
        at
  com.liferay.portal.deploy.hot.ServiceWrapperRegistry$ServiceWrapperServiceTrackerCustomizer.addingService(ServiceWrapperRegistry.java:70)&lt;br /&gt; 
        at
  com.liferay.portal.deploy.hot.ServiceWrapperRegistry$ServiceWrapperServiceTrackerCustomizer.addingService(ServiceWrapperRegistry.java:57)&lt;br /&gt; 
        at com.liferay.registry.internal.ServiceTrackerCustomizerAdapter.addingService(ServiceTrackerCustomizerAdapter.java:35)&lt;/p&gt;</summary>
    <dc:creator>Rushikesh Gawade</dc:creator>
    <dc:date>2021-04-12T13:10:30Z</dc:date>
  </entry>
</feed>
