Foros de discusión

ClassNotFoundException: ViewAction with sample-sign-in-portlet-5.2.0.1

thumbnail
Stephan Huber, modificado hace 15 años.

ClassNotFoundException: ViewAction with sample-sign-in-portlet-5.2.0.1

Junior Member Mensajes: 28 Fecha de incorporación: 27/03/09 Mensajes recientes
Hello!

When deploying the sample-sign-in-portlet-5.2.0.1.war from the liferay download pages I get the following ClassNotFoundException.

- [#|2009-04-01T13:48:31.456+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=17;_ThreadName=httpSSLWorkerThread-8091-2;|2009-04-01 13:48:31,453 [httpSSLWorkerThread-8091-2] ERROR com.liferay.samplesignin.portlet.SignInPortlet.java - java.lang.ClassNotFoundException: com.liferay.portlet.login.action.ViewAction
java.lang.ClassNotFoundException: com.liferay.portlet.login.action.ViewAction
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1498)
at com.liferay.portal.kernel.util.MethodInvoker.invoke(MethodInvoker.java:119)
at com.liferay.portal.kernel.util.PortalClassInvoker.invoke(PortalClassInvoker.java:117)
at com.liferay.portal.kernel.util.PortalClassInvoker.invoke(PortalClassInvoker.java:64)

Is there no ViewAction class any more in 5.2.2?

Thanks in advance,
Stephan
Martin Biastoch, modificado hace 15 años.

RE: ClassNotFoundException: ViewAction with sample-sign-in-p

New Member Mensajes: 3 Fecha de incorporación: 11/02/08 Mensajes recientes
Hi Stephan,

The variable className in line 54 of SignInPortlet,java is wrong. The class is called LoginAction and not ViewAction.