legacy-knowledge-base
公開されました Jul. 2, 2025

LCSクライアント6.0.0へのアップグレード時にLPKGVerifyExceptionが報告される。

written-by

Sherry Tan

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

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

legacy-article

learn-legacy-article-disclaimer-text

問題

  • LCSクライアント6.0.0にアップグレードすると、以下のエラーが発生します:
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)

環境

  • Liferay DXP 7.0
  • フィックスパック84以下

解像度

  • この問題を解決するには、DXP 7.0 Fix Pack 85 以上をインストールしてください。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base