Fórumok

User custom portlet webservice into aother custom portlet class.

thumbnail
Sachin Jagtap, módosítva 9 év-val korábban

User custom portlet webservice into aother custom portlet class.

Junior Member Bejegyzések: 57 Csatlakozás dátuma: 2014.03.22. Legújabb bejegyzések
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, módosítva 9 év-val korábban

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

Liferay Legend Bejegyzések: 1111 Csatlakozás dátuma: 2011.02.08. Legújabb bejegyzések
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