Foren
How to call module service in plugin portlet
Jignesh Vachhani, geändert vor 7 Jahren.
How to call module service in plugin portlet
Liferay Master Beiträge: 803 Beitrittsdatum: 10.03.08 Neueste Beiträge
Hi,
I have created services as separated module using service builder in DXP.
Now I want to call these services inside my spring mvc portlet which is plugin portlet and deployed as a war.
I kept all jar inside web-inf lib folder for portlet but some how stil it doesnt work and gives below error:
Any input please.
I have created services as separated module using service builder in DXP.
Now I want to call these services inside my spring mvc portlet which is plugin portlet and deployed as a war.
I kept all jar inside web-inf lib folder for portlet but some how stil it doesnt work and gives below error:
Caused by: java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
at com.liferay.osgi.util.ServiceTrackerFactory.create(ServiceTrackerFactory.java:32)
at com.liferay.osgi.util.ServiceTrackerFactory.create(ServiceTrackerFactory.java:74)
at com.liferay.osgi.util.ServiceTrackerFactory.open(ServiceTrackerFactory.java:121)
at com.abc.portal.service.MyLookupLocalServiceUtil.<clinit>(MyLookupLocalServiceUtil.java:134)</clinit>
Any input please.