問題
- カスタムレイアウトテンプレートをポータルにデプロイできない
- 再現手順
Startup
添付のカスタムレイアウトテンプレートをデプロイする
期待される動作:正常にデプロイされるはずです。
観察された動作サーバーコンソールで以下のエラーが発生します。-
INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:212] Processing custom-layout-layouttpl.war
INFO [fileinstall-directory-watcher][BaseAutoDeployListener:34] Copying layout templates for /opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.83/temp/20231218215714420AEMYVNPH/custom-layout-layouttpl.war
INFO [fileinstall-directory-watcher][BaseAutoDeployListener:41] Layout templates for /opt/dev/projects/github/liferay-portal/bundles/tomcat-9.0.83/temp/20231218215714420AEMYVNPH/custom-layout-layouttpl.war copied successfully
INFO [fileinstall-directory-watcher][BundleStartStopLogger:68] STARTED custom-layout-layouttpl_1.0.0 [1492]
ERROR [fileinstall-directory-watcher][ContextLoader:313] Context initialization failed com.liferay.portal.kernel.bean.BeanLocatorException: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'configurableApplic
ationContextConfigurator' available at com.liferay.portal.bean.BeanLocatorImpl.locate(BeanLocatorImpl.java:96) ~[portal-impl.jar:?] at com.liferay.portal.kernel.bean.PortalBeanLocatorUtil.locate(PortalBeanLocatorUtil.java:54) ~[portal-kernel.jar:?]
at com.liferay.portal.osgi.web.wab.extender.internal.PortletContextLoaderListener.customizeContext(PortletContextLoaderListener.java:194) ~[?:?] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400) ~[spring-web.jar:5.2.24.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292) ~[spring-web.jar:5.2.24.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) ~[spring-web.jar:5.2.24.RELEASE]
at com.liferay.portal.osgi.web.wab.extender.internal.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:115) ~[?:?] at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletContextListenerExceptionAdapter._initializeContext(ServletContextListenerExceptionAdapter.java:116) ~[?:?]
at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletContextListenerExceptionAdapter.contextInitialized(ServletContextListenerExceptionAdapter.java:96) ~[?:?] at sun.reflect.GeneratedMethodAccessor515.invoke(Unknown Source) ~[?:?]
-
環境
- Liferay DXP 7.4
解像度
- 観測された動作は、DXP 7.4 の既知のリグレッションバグであり、 LPS-204310によって対処されています。
追加情報
- Hotfixまたはこの件に関する詳細情報が必要な場合は、パッチの詳細を添付したサポートチケットを送信してください。
- Liferay DXPへのFix PackとHotfixのインストール FixpackやHotfixをお使いの環境にインストールする方法をご案内します。