Legacy Knowledge Base
Published Jul. 2, 2025

LPKGVerifyException is reported when upgrading to LCS client 6.0.0

Written By

Sherry Tan

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • When upgrading to LCS client 6.0.0, the following error is reported:
12-Sep-2019 06:06:57.072 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener
java.lang.RuntimeException: com.liferay.portal.lpkg.deployer.LPKGVerifyException: LPKG validation failed with {[missing requirement com.liferay.lcs.api; version=12.0.7; type=osgi.bundle [caused by: Unable to resolve com.liferay.lcs.api version=12.0.7: missing requirement com.fasterxml.jackson.databind; version=[2.9.0,3.0.0)]], [missing requirement com.liferay.lcs.client.api; version=5.2.1; type=osgi.bundle [caused by: Unable to resolve com.liferay.lcs.client.api version=5.2.1: missing requirement com.liferay.lcs.messaging; version=[11.1.0,12.0.0) [caused by: Unable to resolve com.liferay.lcs.messaging version=12.1.2: missing requirement com.fasterxml.jackson.annotation; version=[2.9.0,3.0.0)]]], [missing requirement com.liferay.lcs.client.impl; version=1.0.21; type=osgi.bundle [caused by: Unable to resolve com.liferay.lcs.client.impl version=1.0.21: missing requirement com.fasterxml.jackson.databind; version=[2.9.0,3.0.0)]], [missing requirement com.liferay.lcs.client.web; version=1.0.17; type=osgi.bundle [caused by: Unable to resolve com.liferay.lcs.client.web version=1.0.17: missing requirement com.liferay.lcs.messaging; version=[11.1.0,12.0.0) [caused by: Unable to resolve com.liferay.lcs.messaging version=12.1.2: missing requirement com.fasterxml.jackson.annotation; version=[2.9.0,3.0.0)]]], [missing requirement com.liferay.lcs.messaging; version=12.1.2; type=osgi.bundle [caused by: Unable to resolve com.liferay.lcs.messaging version=12.1.2: missing requirement com.fasterxml.jackson.annotation; version=[2.9.0,3.0.0)]]}
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:271)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
.....
12-Sep-2019 06:06:57.075 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
12-Sep-2019 06:06:57.098 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
2019-09-12 06:06:57.111 ERROR [localhost-startStop-1][PortalContextLoaderListener:114] java.lang.NullPointerException
java.lang.NullPointerException
at com.liferay.portal.kernel.servlet.DirectServletRegistryUtil.clearServlets(DirectServletRegistryUtil.java:27)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:139)
...
2019-09-12 06:06:57.113 ERROR [localhost-startStop-1][PortalContextLoaderListener:114] java.lang.NullPointerException
java.lang.NullPointerException
at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.reset(HotDeployUtil.java:53)
at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:146)
...
2019-09-12 06:06:57.113 ERROR [localhost-startStop-1][PortalBeanLocatorUtil:109] BeanLocator is null
12-Sep-2019 06:06:57.113 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener
com.liferay.portal.kernel.bean.BeanLocatorException: BeanLocator is not set
at com.liferay.portal.kernel.bean.PortalBeanLocatorUtil.locate(PortalBeanLocatorUtil.java:74)
at com.liferay.portal.spring.context.PortalContextLoaderListener.closeDataSource(PortalContextLoaderListener.java:394)
...

12-Sep-2019 06:06:57.116 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [HSQLDB Timer @5c11cec9] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
org.hsqldb.lib.HsqlTimer$TaskQueue.park(HsqlTimer.java:882)
org.hsqldb.lib.HsqlTimer.nextTask(HsqlTimer.java:528)
org.hsqldb.lib.HsqlTimer$TaskRunner.run(HsqlTimer.java:610)
java.lang.Thread.run(Thread.java:748)

Environment

  • Liferay DXP 7.0
  • Fix Pack 84 or below

Resolution

  • To resolve the issue, please install the DXP 7.0 Fix Pack 85 or above.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base