Fórum
User custom portlet webservice into aother custom portlet class.
Sachin Jagtap, modificado 10 Anos atrás.
User custom portlet webservice into aother custom portlet class.
Junior Member Postagens: 57 Data de Entrada: 22/03/14 Postagens Recentes
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
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
meera prince, modificado 10 Anos atrás.
RE: User custom portlet webservice into aother custom portlet class.
Liferay Legend Postagens: 1111 Data de Entrada: 08/02/11 Postagens Recentes
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
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