Legacy Knowledge Base
Published Sep. 10, 2025

'Invocation of 'addApplication' failed' after upgrading

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

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

Issue

The migration was seemingly successful, but upon startup the following error is appearing in the logs:

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)

Environment

  • Liferay DXP 7.0+

Resolution

This is related to JAX-RS compatibility. You will need to check if there are any REST Extender configuration left from the pre-upgrade environment in Control Panel > System Settings that are not needed anymore or it's also possible that you need to recreate them to be compatible with the upgraded environment.

Additionally, review any module containing files like com.liferay.portal.remote.rest.extender.configuration.RestExtenderConfiguration-*.properties or com.liferay.portal.remote.cxf.common.configuration.CXFEndpointPublisherConfiguration-*.properties. These files might also need to be removed or adapted to be compatible with the upgraded environment.

Did this article resolve your issue ?

Legacy Knowledge Base