Foros de discusión

User custom portlet webservice into aother custom portlet class.

thumbnail
Sachin Jagtap, modificado hace 10 años.

User custom portlet webservice into aother custom portlet class.

Junior Member Mensajes: 57 Fecha de incorporación: 22/03/14 Mensajes recientes
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, modificado hace 10 años.

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

Liferay Legend Mensajes: 1111 Fecha de incorporación: 8/02/11 Mensajes recientes
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