Foros de discusión
ClassNotFoundException LoginAction while hook is deplying
Ram Dev, modificado hace 10 años.
ClassNotFoundException LoginAction while hook is deplying
Junior Member Mensajes: 46 Fecha de incorporación: 29/06/11 Mensajes recientes
hi ,
I am using hook to overide the default LoginAction through Hooks .
But i am getting this Exception
Caused by: java.lang.ClassNotFoundException: com.liferay.portlet.login.action.LoginAction
This is how i am doing it
liferay-hook.xml
I am using hook to overide the default LoginAction through Hooks .
But i am getting this Exception
Caused by: java.lang.ClassNotFoundException: com.liferay.portlet.login.action.LoginAction
This is how i am doing it
liferay-hook.xml
<!--?xml version="1.0"?-->
<hook>
<struts-action>
<struts-action-path>/login/login</struts-action-path>
<struts-action-impl>com.liferay.samplehook.action.SampleStrutsAction</struts-action-impl>
</struts-action>
</hook>
Can anybody please help me in how to resolve this issue ??
Thanks in advance .
Mika Koivisto, modificado hace 10 años.
RE: ClassNotFoundException LoginAction while hook is deplying
Liferay Legend Mensajes: 1519 Fecha de incorporación: 7/08/06 Mensajes recientes
You can't extend LoginAction as it is in portal-impl and not visible to your plugin. StrutsAction hooks are more like Aspects that can wrap the action.
Pankaj Kathiriya, modificado hace 10 años.