19 de mayo de 2021

:: Liferay. No carga el contexto "Context initialization failed"


 En Liferay 6.2, no arranca el servidor y en los logs muestra un error similar a este:

[ContextLoader:206] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.kernel.lar.ExportImportHelper' defined in class path resource [META-INF/util-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.lar.ExportImportHelperImpl]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: _ The import com.liferay.portal.lar.backgroundtask cannot be resolved_ The import com.liferay.portal.model.impl.LayoutImpl cannot be resolved_ The import com.liferay.portal.util.PropsValues cannot be resolved_ The import com.liferay.portal.util.WebKeys cannot be resolved_ StagingIndexingBackgroundTaskExecutor cannot be resolved to a type_ WebKeys cannot be resolved to a variable_ LayoutImpl cannot be resolved to a type_ PropsValues cannot be resolved to a variable_ PropsValues cannot be resolved to a variable_ PropsValues cannot be resolved to a variable_ AlwaysCurrentUserIdStrategy cannot be resolved to a type_ CurrentUserIdStrategy cannot be resolved to a type_ PropsValues cannot be resolved to a variable_ PropsValues cannot be resolved to a variable_ PropsValues cannot be resolved to a variable_ PropsValues cannot be resolved to a variable_ PropsValues cannot be resolved to a variable_ [Sanitized]

En este caso el error se solucionó des-instalando el plugin-ext y volviendo a desplegarlo en el arranque.


No hay comentarios:

Publicar un comentario

Déjanos tu comentario

:: Cookies de nuestra página web. ¿Para qué sirve cada una?

A menudo una pregunta que nos hacen es qué cookies se están utilizando en mi página y para qué sirven. Para ver las cookies, podemos selecci...