Dynamic Query with PortletClassLoader using PortletBeanLocatorUtil
Hello,
Recently I faced some
issue with dynamic query. Even though my service layer and Portlet are in the
same war I got class not found exception
for the model class. Liferay could not able to load Model class while using the
dynamic query So I used the Portlet Class loader like below.
Then my issue got
resolved.
Comments