Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: error while importing lar file
Hi Team,
I am getting error while uploading a lar file in Liferay 7GA4
An unexpected error occurred with the publication process. Please check your portal and publishing configuration.
The Web Content Article: xxx has missing reference(s) that could not be found during the process.
but in tomcat console, I could see this error.
How do i know what are missing or How to fix this issue.
Thanks
Kiran
I am getting error while uploading a lar file in Liferay 7GA4
An unexpected error occurred with the publication process. Please check your portal and publishing configuration.
The Web Content Article: xxx has missing reference(s) that could not be found during the process.
but in tomcat console, I could see this error.
13:54:38,266 WARN [liferay/background_task-1][LayoutImportBackgroundTaskExecutor:93] Unable to import layouts: com.liferay.portal.kernel.exception.NoSuchLayoutException
13:54:38,744 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:165] Unable to execute background task
com.liferay.exportimport.kernel.lar.PortletDataException: com.liferay.portal.kernel.exception.NoSuchLayoutException
at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:385)
at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:369)
at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:355)
at com.liferay.journal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:344)
at com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:382)
at com.liferay.exportimport.controller.PortletImportController.importPortletData(PortletImportController.java:290)
How do i know what are missing or How to fix this issue.
Thanks
Kiran
Hi Kiran,
Can you post the entire stacktrace? It seems to not be complete.
Thank you
Can you post the entire stacktrace? It seems to not be complete.
Thank you
Jorge Díaz:
Hi Kiran,
Can you post the entire stacktrace? It seems to not be complete.
Thank you
Thanks for replying. Please find full stack trace below.
06:05:12,988 WARN [liferay/background_task-1][LayoutImportBackgroundTaskExecutor:93] Unable to import layouts: com.liferay.portal.kernel.exception.NoSuchLayoutException
06:05:13,079 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:165] Unable to execute background task
com.liferay.exportimport.kernel.lar.PortletDataException: com.liferay.portal.kernel.exception.NoSuchLayoutException
at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:385)
at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:369)
at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:355)
at com.liferay.journal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:344)
at com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:382)
at com.liferay.exportimport.controller.PortletImportController.importPortletData(PortletImportController.java:290)
at com.liferay.exportimport.controller.PortletImportController.importPortletData(PortletImportController.java:826)
at com.liferay.exportimport.controller.LayoutImportController.doImportFile(LayoutImportController.java:822)
at com.liferay.exportimport.controller.LayoutImportController.importFile(LayoutImportController.java:224)
at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
at com.sun.proxy.$Proxy88.importLayouts(Unknown Source)
at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.importLayouts(ExportImportLocalServiceUtil.java:202)
at com.liferay.exportimport.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:123)
at com.liferay.exportimport.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:109)
at com.liferay.portal.spring.transaction.TransactionInvokerImpl$CallableMethodInvocation.proceed(TransactionInvokerImpl.java:101)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
at com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:47)
at com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:28)
at com.liferay.exportimport.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:84)
at com.liferay.portal.kernel.backgroundtask.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:43)
at com.liferay.portal.kernel.backgroundtask.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:56)
at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:124)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.liferay.portal.kernel.exception.NoSuchLayoutException
at com.liferay.exportimport.content.processor.base.BaseTextExportImportContentProcessor.validateLinksToLayoutsReferences(BaseTextExportImportContentProcessor.java:1374)
at com.liferay.exportimport.content.processor.base.BaseTextExportImportContentProcessor.validateContentReferences(BaseTextExportImportContentProcessor.java:123)
at com.liferay.journal.internal.exportimport.content.processor.JournalArticleExportImportContentProcessor.validateContentReferences(JournalArticleExportImportContentProcessor.java:106)
at com.liferay.journal.internal.exportimport.content.processor.JournalArticleExportImportContentProcessor.validateContentReferences(JournalArticleExportImportContentProcessor.java:58)
at com.liferay.journal.service.impl.JournalArticleLocalServiceImpl.validateReferences(JournalArticleLocalServiceImpl.java:8093)
at com.liferay.journal.service.impl.JournalArticleLocalServiceImpl.addArticle(JournalArticleLocalServiceImpl.java:369)
at sun.reflect.GeneratedMethodAccessor1640.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:51)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
at com.sun.proxy.$Proxy462.addArticle(Unknown Source)
at com.liferay.journal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:710)
at com.liferay.journal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:79)
at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:364)
... 39 more
You have a webcontent with a reference to a non-existing layout.
Try activating DEBUG traces of com.liferay.exportimport category and repeat the operation. You will have additional DEBUG traces with the webcontent that it is failing.
Regards,
Jorge Díaz
Try activating DEBUG traces of com.liferay.exportimport category and repeat the operation. You will have additional DEBUG traces with the webcontent that it is failing.
Regards,
Jorge Díaz
Hi Jorge Diaz,
it didn't help me . Please find below console after enabling logs. Is there any other to find out missing content. With this error, i am unable to import other webcontents. how can i remove webcontent which giving error from lar file so that otherwebcontents will be imported without any issue.
Following below step for copying content from one environment to another environment.
I am creating one lar for pages & document media content and another lar for webcontent. Then i follow the same sequence while importing the same into site.
it didn't help me . Please find below console after enabling logs. Is there any other to find out missing content. With this error, i am unable to import other webcontents. how can i remove webcontent which giving error from lar file so that otherwebcontents will be imported without any issue.
Following below step for copying content from one environment to another environment.
I am creating one lar for pages & document media content and another lar for webcontent. Then i follow the same sequence while importing the same into site.
17:12:44,826 DEBUG [liferay/background_task-1][ThemeImporter:46] Import theme settings true
17:12:44,832 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1354] Import portlet data true
17:12:44,833 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1355] Import all portlet data true
17:12:44,833 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1393] Import portlet configuration false
17:12:44,897 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1354] Import portlet data true
17:12:44,897 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1355] Import all portlet data true
17:12:44,898 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1393] Import portlet configuration false
17:12:44,901 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1354] Import portlet data true
17:12:44,902 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1355] Import all portlet data true
17:12:44,902 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1393] Import portlet configuration false
17:12:44,919 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1354] Import portlet data true
17:12:44,920 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1355] Import all portlet data true
17:12:44,920 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1393] Import portlet configuration false
17:12:44,921 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1354] Import portlet data true
17:12:44,921 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1355] Import all portlet data true
17:12:44,921 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1393] Import portlet configuration false
17:12:44,924 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1354] Import portlet data true
17:12:44,924 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1355] Import all portlet data true
17:12:44,924 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1393] Import portlet configuration false
17:12:44,925 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1354] Import portlet data true
17:12:44,925 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1355] Import all portlet data true
17:12:44,926 DEBUG [liferay/background_task-1][ExportImportHelperImpl:1393] Import portlet configuration false
17:12:44,934 INFO [liferay/background_task-1][BasePortletDataHandler:366] Importing portlet com_liferay_journal_web_portlet_JournalPortlet
17:13:24,366 INFO [liferay/background_task-1][BasePortletDataHandler:398] Imported portlet in 00:00:39.431
17:13:26,968 WARN [liferay/background_task-1][LayoutImportBackgroundTaskExecutor:93] Unable to import layouts: com.liferay.portal.kernel.exception.NoSuchLayoutException
17:13:27,031 ERROR [liferay/background_task-1][BackgroundTaskMessageListener:165] Unable to execute background task
com.liferay.exportimport.kernel.lar.PortletDataException: com.liferay.portal.kernel.exception.NoSuchLayoutException
at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:385)
at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:369)
at com.liferay.exportimport.kernel.lar.StagedModelDataHandlerUtil.importStagedModel(StagedModelDataHandlerUtil.java:355)
at com.liferay.journal.exportimport.data.handler.JournalPortletDataHandler.doImportData(JournalPortletDataHandler.java:344)
at com.liferay.exportimport.kernel.lar.BasePortletDataHandler.importData(BasePortletDataHandler.java:382)
at com.liferay.exportimport.controller.PortletImportController.importPortletData(PortletImportController.java:290)
at com.liferay.exportimport.controller.PortletImportController.importPortletData(PortletImportController.java:826)
at com.liferay.exportimport.controller.LayoutImportController.doImportFile(LayoutImportController.java:822)
at com.liferay.exportimport.controller.LayoutImportController.importFile(LayoutImportController.java:224)
at com.liferay.portlet.exportimport.service.impl.ExportImportLocalServiceImpl.importLayouts(ExportImportLocalServiceImpl.java:185)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
at com.sun.proxy.$Proxy88.importLayouts(Unknown Source)
at com.liferay.exportimport.kernel.service.ExportImportLocalServiceUtil.importLayouts(ExportImportLocalServiceUtil.java:202)
at com.liferay.exportimport.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:123)
at com.liferay.exportimport.background.task.LayoutImportBackgroundTaskExecutor$LayoutImportCallable.call(LayoutImportBackgroundTaskExecutor.java:109)
at com.liferay.portal.spring.transaction.TransactionInvokerImpl$CallableMethodInvocation.proceed(TransactionInvokerImpl.java:101)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
at com.liferay.portal.spring.transaction.TransactionInvokerImpl.invoke(TransactionInvokerImpl.java:47)
at com.liferay.portal.kernel.transaction.TransactionInvokerUtil.invoke(TransactionInvokerUtil.java:28)
at com.liferay.exportimport.background.task.LayoutImportBackgroundTaskExecutor.execute(LayoutImportBackgroundTaskExecutor.java:84)
at com.liferay.portal.kernel.backgroundtask.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:54)
at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:43)
at com.liferay.portal.kernel.backgroundtask.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:56)
at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:124)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.liferay.portal.kernel.exception.NoSuchLayoutException
at com.liferay.exportimport.content.processor.base.BaseTextExportImportContentProcessor.validateLinksToLayoutsReferences(BaseTextExportImportContentProcessor.java:1374)
at com.liferay.exportimport.content.processor.base.BaseTextExportImportContentProcessor.validateContentReferences(BaseTextExportImportContentProcessor.java:123)
at com.liferay.journal.internal.exportimport.content.processor.JournalArticleExportImportContentProcessor.validateContentReferences(JournalArticleExportImportContentProcessor.java:106)
at com.liferay.journal.internal.exportimport.content.processor.JournalArticleExportImportContentProcessor.validateContentReferences(JournalArticleExportImportContentProcessor.java:58)
at com.liferay.journal.service.impl.JournalArticleLocalServiceImpl.validateReferences(JournalArticleLocalServiceImpl.java:8093)
at com.liferay.journal.service.impl.JournalArticleLocalServiceImpl.addArticle(JournalArticleLocalServiceImpl.java:369)
at sun.reflect.GeneratedMethodAccessor1640.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:163)
at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:51)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:137)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:169)
at com.sun.proxy.$Proxy462.addArticle(Unknown Source)
at com.liferay.journal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:710)
at com.liferay.journal.exportimport.data.handler.JournalArticleStagedModelDataHandler.doImportStagedModel(JournalArticleStagedModelDataHandler.java:79)
at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:364)
... 39 more
Hi Kiran,
I think there are some DEBUG traces that are missing, a message saying Staged model xxxxxx import started should be displayed, with the id of the problematic JournalArticle.
Try activating following categories to DEBUG level:
I think there are some DEBUG traces that are missing, a message saying Staged model xxxxxx import started should be displayed, with the id of the problematic JournalArticle.
Try activating following categories to DEBUG level:
com.liferay.exportimport
com.liferay.exportimport.internal
com.liferay.exportimport.internal.lifecycleand execute the problematic import again.
Hi Jorge
Iwant to export web content structures and templates but ${processor.processMax()} is displayed and in the logs i see below no class def found error when i click on webcontent -- >;export/import.Could please let me what is missing here
2020-01-23 22:49:30.117 ERROR [tomcat-http--41][LiferayMethodExceptionEventHandler:54] Unable to execute method processMax {exception=com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.liferay.exportimport.kernel.lar.StagedModelDataHandlerRegistryUtil, className=com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor}
Iwant to export web content structures and templates but ${processor.processMax()} is displayed and in the logs i see below no class def found error when i click on webcontent -- >;export/import.Could please let me what is missing here
2020-01-23 22:49:30.117 ERROR [tomcat-http--41][LiferayMethodExceptionEventHandler:54] Unable to execute method processMax {exception=com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.liferay.exportimport.kernel.lar.StagedModelDataHandlerRegistryUtil, className=com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor}
Which Liferay version are you using?
Thanks for your reply Jorge.I m using Liferay DXP 7.0.10 GA1 and the latest fix pack that was installed was de-81-7010
Hi Chandra,
If you are using Liferay DXP 7.0 with the fixpack 81 installed, that means you are using enterprise version of Liferay.
In that case you should better open a ticket to Liferay Support ( https://help.liferay.com/hc/en-us ). If you don't have access to the Liferay Support, you should talk with the person in your company that has the right permissions.
If you are using Liferay DXP 7.0 with the fixpack 81 installed, that means you are using enterprise version of Liferay.
In that case you should better open a ticket to Liferay Support ( https://help.liferay.com/hc/en-us ). If you don't have access to the Liferay Support, you should talk with the person in your company that has the right permissions.
Yes will do that. Let us know if you encountered this issue before