Getting Class Cast exception with custom impersonation in websphere 8.5 -
i writing custom impersonation in websphere 8.5. getting class cast exception at:
context ctx = new initialcontext(); portletservicehome pshimpersonate = (portletservicehome) ctx.lookup(impersonationservice.jndi_name);
the error is: java.lang.classcastexception: com.ibm.wps.services.portletserviceregistry.home.portletservicehomeimpl incompatible com.ibm.portal.portlet.service.portletservicehome
please suggest how fix error. checked online not getting proper help.
Comments
Post a Comment