Message Boards
Unable to get service bag for class BlogServiceOverride
Unable to get service bag for class BlogServiceOverride
New Member Posts: 9 Join Date: 4/6/21 Recent PostsHello,
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.
2021-04-12 11:01:23.610 ERROR [main][ServiceWrapperRegistry:73]
Unable to get service bag for class
BlogServiceOverride.BlogServiceOverride
java.lang.IllegalArgumentException
at
com.liferay.registry.internal.RegistryImpl.getService(RegistryImpl.java:160)
at
com.liferay.portal.deploy.hot.ServiceWrapperRegistry$ServiceWrapperServiceTrackerCustomizer._getServiceBag(ServiceWrapperRegistry.java:129)
at
com.liferay.portal.deploy.hot.ServiceWrapperRegistry$ServiceWrapperServiceTrackerCustomizer.addingService(ServiceWrapperRegistry.java:70)
at
com.liferay.portal.deploy.hot.ServiceWrapperRegistry$ServiceWrapperServiceTrackerCustomizer.addingService(ServiceWrapperRegistry.java:57)
at com.liferay.registry.internal.ServiceTrackerCustomizerAdapter.addingService(ServiceTrackerCustomizerAdapter.java:35)