Foren
ClassNotFoundException LoginAction while hook is deplying
Ram Dev, geändert vor 10 Jahren.
ClassNotFoundException LoginAction while hook is deplying
Junior Member Beiträge: 46 Beitrittsdatum: 29.06.11 Neueste Beiträge
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, geändert vor 10 Jahren.
RE: ClassNotFoundException LoginAction while hook is deplying
Liferay Legend Beiträge: 1519 Beitrittsdatum: 07.08.06 Neueste Beiträge
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, geändert vor 10 Jahren.