legacy-knowledge-base
公開されました Sep. 10, 2025

java.lang.RuntimeException: com.liferay.portal.lpkg.deployer.LPKGVerifyException: LPKG 検証に失敗しました

written-by

Thanga Meena

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

問題

  • LPKGVerify RuntimeException」がトリガーされるのはなぜですか?
SEVERE: 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.alloy.mvc; version=2.3.11; type=osgi.bundle [caused by: Unable to resolve com.liferay.alloy.mvc version=2.3.11:

missing requirement &(osgi.ee=JavaSE)(version=1.8)]], [missing requirement com.liferay.analytics.message.sender.api; version=1.5.0; type=osgi.bundle [caused by: Unable to resolve com.liferay.analytics.message.sender.api version=1.5.0: missing requirement com.liferay.analytics.message.storage.service; version=[1.0.0,2.0.0) [caused by: Unable to resolve com.liferay.analytics.message.storage.api version=1.0.7: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]], [missing requirement com.liferay.analytics.message.sender.impl; version=1.0.16; type=osgi.bundle [caused by: Unable to resolve com.liferay.analytics.message.sender.impl version=1.0.16: missing requirement com.liferay.analytics.message.sender.constants; version=1.0.0 [caused by: Unable to resolve com.liferay.analytics.message.sender.api version=1.5.0: missing requirement com.liferay.analytics.message.storage.service; version=[1.0.0,2.0.0) [caused by: Unable to resolve com.liferay.analytics.message.storage.api version=1.0.7: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]]], [missing requirement com.liferay.analytics.message.storage.api; version=1.0.7; type=osgi.bundle [caused by: Unable to resolve com.liferay.analytics.message.storage.api version=1.0.7: missing requirement &(osgi.ee=JavaSE)(version=1.8)]], [missing requirement com.liferay.analytics.message.storage.service; version=1.0.18; type=osgi.bundle [caused by: Unable to resolve com.liferay.analytics.message.storage.service version=1.0.18: missing requirement com.liferay.analytics.message.storage.model; version=1.0.0 [caused by: Unable to resolve com.liferay.analytics.message.storage.api version=1.0.7: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]], [missing requirement com.liferay.analytics.settings.api; version=1.3.0; type=osgi.bundle [caused by: Unable to resolve com.liferay.analytics.settings.api version=1.3.0: missing requirement &(osgi.ee=JavaSE)(version=1.8)]], [missing requirement com.liferay.analytics.settings.impl; version=1.0.16; type=osgi.bundle [caused by: Unable to resolve com.liferay.analytics.settings.impl version=1.0.16: missing requirement com.liferay.analytics.message.sender.constants; version=[1.0.0,2.0.0) [caused by: Unable to resolve com.liferay.analytics.message.sender.api version=1.5.0: missing requirement com.liferay.analytics.message.storage.service; version=[1.0.0,2.0.0) [caused by: Unable to resolve com.liferay.analytics.message.storage.api version=1.0.7: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]]], [missing requirement com.liferay.analytics.settings.web; version=1.0.50; type=osgi.bundle [caused by: Unable to resolve com.liferay.analytics.settings.web version=1.0.50: missing requirement com.liferay.portal.configuration.metatype.annotations; version=[1.0.0,2.0.0) [caused by: Unable to resolve com.liferay.portal.configuration.metatype version=2.0.21: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]], [missing requirement com.liferay.announcements.api; version=1.0.2; type=osgi.bundle [caused by: Unable to resolve com.liferay.announcements.api version=1.0.2: missing requirement &(osgi.ee=JavaSE)(version=1.8)]], [missing requirement com.liferay.announcements.uad; version=2.0.12; type=osgi.bundle [caused by: Unable to resolve com.liferay.announcements.uad version=2.0.12: missing requirement com.liferay.user.associated.data.display; version=1.0.0 [caused by: Unable to resolve com.liferay.user.associated.data.api version=2.0.7: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]], [missing requirement com.liferay.announcements.web; version=2.0.52; type=osgi.bundle [caused by: Unable to resolve com.liferay.announcements.web version=2.0.52: missing requirement com.liferay.portal.configuration.metatype.util; version=1.0.0 [caused by: Unable to resolve com.liferay.portal.configuration.metatype version=2.0.21: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]], [missing requirement com.liferay.antivirus.clamd.scanner; version=1.0.10; type=osgi.bundle [caused by: Unable to resolve com.liferay.antivirus.clamd.scanner version=1.0.10: missing requirement com.liferay.portal.configuration.metatype.bnd.util; version=2.0.0 [caused by: Unable to resolve com.liferay.portal.configuration.metatype version=2.0.21: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]], [missing requirement com.liferay.application.list.api; version=2.2.15; type=osgi.bundle [caused by: Unable to resolve com.liferay.application.list.api version=2.2.15: missing requirement &(osgi.extender=osgi.component)(version=[1.3.0,2.0.0)) [caused by: Unable to resolve org.apache.felix.scr version=2.0.6.LIFERAY-PATCHED-5: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]], [missing requirement com.liferay.application.list.my.account.permissions; version=1.0.7; type=osgi.bundle [caused by: Unable to resolve com.liferay.application.list.my.account.permissions version=1.0.7: missing requirement com.liferay.application.list.display.context.logic; version=[1.1.0,2.0.0) [caused by: Unable to resolve com.liferay.application.list.api version=2.2.15: missing requirement &(osgi.extender=osgi.component)(version=[1.3.0,2.0.0)) [caused by: Unable to resolve org.apache.felix.scr version=2.0.6.LIFERAY-PATCHED-5: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]]], [missing requirement com.liferay.application.list.taglib; version=2.0.24; type=osgi.bundle [caused by: Unable to resolve com.liferay.application.list.taglib version=2.0.24: missing requirement com.liferay.application.list.display.context.logic; version=[1.1.0,2.0.0) [caused by: Unable to resolve com.liferay.application.list.api version=2.2.15: missing requirement &(osgi.extender=osgi.component)(version=[1.3.0,2.0.0)) [caused by: Unable to resolve org.apache.felix.scr version=2.0.6.LIFERAY-PATCHED-5: missing requirement &(osgi.ee=JavaSE)(version=1.8)]]]], [missing requirement com.liferay.application.list.user.personal.site.permissions; version=2.0.13; type=osgi.bundle [caused by: Unable to resolve com.liferay.application.list.user.personal.site.permissions version=2.0.13: missing requirement com.liferay.application.list.display.context.logic; version=[1.1.0,2.0.0) [caused by: Unable to resolve com.liferay.application.list.api version=2.2.15: missing requirement &(osgi.extender=osgi.component)(version=[1.3.0,2.0.0)) [caused by: Unable to resolve org.apache.felix.scr version=2.0.6.LIFERAY-PATCHED-5: missing requirement &(osgi.ee=Java
more..................

Environment

  • Liferay DXP 7.0

解決策

  • それがどのようにトリガーされるかについて、考えられるさまざまな方法を説明しましょう。 LPKG インデックス バリデータは、内部セキュリティ メカニズムです。 これは、展開された LPKG ファイルが改ざんされていないことを保証するように設計されている方法です。 展開に変更があれば開始されます。
  • 例: LPKG に変更がある場合、またはいくつかの LPKG ファイルを削除した場合、通常、このエラーがトリガーされます。
  • したがって、低下したテスト環境または非実稼働環境でのテスト目的の回避策として、以下のプロパティを構成します。
    module.framework.properties.lpkg.index.validator.enabled=false 
    // Add this property in the portal-ext.properties and restart the server by deleting the temp directories.

追加情報

  • 上記のプロパティを説明するコミュニティ ブログ投稿

    注: コミュニティ リソースは、コミュニティ メンバーがコミュニティ メンバーのために作成したものであり、ヘルプ センターのナレッジ ベース ドキュメントのように Liferay サポートによって正式に承認されていませんが、有用な情報を提供することができます。

did-this-article-resolve-your-issue

legacy-knowledge-base