Foren

User custom portlet webservice into aother custom portlet class.

thumbnail
Sachin Jagtap, geändert vor 9 Jahren.

User custom portlet webservice into aother custom portlet class.

Junior Member Beiträge: 57 Beitrittsdatum: 22.03.14 Neueste Beiträge
Hi,
I am using liferay web services in which,
I have created a web service in one portlet & while trying to access it from other portlet it gives an exception
java.lang.ClassCastException:[Lcom.xyz.social.model.SocialModelOBJECT; cannot be cast to [Lcom.xyz.social.model.SocialModelOBJECT


Thanks in advance
Regards
Sachin Jagtap
thumbnail
meera prince, geändert vor 9 Jahren.

RE: User custom portlet webservice into aother custom portlet class.

Liferay Legend Beiträge: 1111 Beitrittsdatum: 08.02.11 Neueste Beiträge
Hi

Check your portlet service jar may available in two class path location that is tomcat/lib/ext and portletcontext/WEB-INF/lib.
it should be available in any one of the place.

Please have look into following link it may help you..

https://www.liferay.com/community/forums/-/message_boards/message/33063340

http://www.liferaysavvy.com/2013/12/sharing-liferay-service-layer-between.html


http://www.liferaysavvy.com/2014/01/liferay-service-builder-many-to-many_12.html


Regards,
Meera Prince