Fórum

Custom startup event: class not found exception

K F, modificado 6 Anos atrás.

Custom startup event: class not found exception

Junior Member Postagens: 52 Data de Entrada: 11/01/17 Postagens Recentes
I have created custom SimpleAction something like
https://github.com/liferay/liferay-portal/blob/586f66c629b559e79c744559751ecb960218fe0b/portal-impl/src/com/liferay/portal/events/AppStartupAction.java
and add this class to application.startup.events property but I am getting java.lang.ClassNotFoundException: com.liferay.custom.StartupAction. How to deploy this class to be accessible during startup? Thank you for help in advance.
thumbnail
Andrew Jardine, modificado 6 Anos atrás.

RE: Custom startup event: class not found exception

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
Are you doing this in a hook project? Can you share with us your liferay-hook.xml and the portal.properties (assuming you didn't change the name) where you are specifying the property for the event class?