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

アップグレード後の'Invocation of 'addApplication' failed'

written-by

Alexandra Rujzam

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

問題

移行は成功したように見えますが、起動時に次のエラーがログに表示されます。

2021-05-10 08:09:13.142 ERROR [Portal Dependency Manager Component Executor--1][AbstractJAXRSFactoryBean:102] No resource classes found
2021-05-10 08:09:13.148 ERROR [Portal Dependency Manager Component Executor--1][LogService:93] [Portal Dependency Manager Component Executor--1] Invocation of 'addApplication' failed.
org.apache.cxf.service.factory.ServiceConstructionException
at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:225)

環境

  • Liferay DXP 7.0+

解決策

これは JAX-RS 互換性に関連します。[コントロール パネル] > [システム設定] で、アップグレード前の環境に残っている不要な REST Extender 構成があるかどうかを確認する必要があります。また、アップグレードされた環境と互換性を持たせるために、REST Extender 構成を再作成する必要がある可能性もあります。

さらに、com.liferay.portal.remote.rest.extender.configuration.RestExtenderConfiguration-*.properties や com.liferay.portal.remote.cxf.common.configuration.CXFEndpointPublisherConfiguration-*.properties などのファイルを含むモジュールを確認してください。 これらのファイルは、アップグレードされた環境と互換性を持たせるために削除または調整する必要がある場合もあります。

did-this-article-resolve-your-issue

legacy-knowledge-base