【问题标题】:adding Vaadin Control Panel to Liferay (liferay-vaadin-plugin-web-1.1.0.0.war does not support this version of Liferay)将 Vaadin 控制面板添加到 Liferay(liferay-vaadin-plugin-web-1.1.0.0.war 不支持此版本的 Liferay)
【发布时间】:2014-09-13 10:21:54
【问题描述】:

我想将 Vaadin 7 与 Liferay 6.2 一起使用。我从marketplace 下载了 Vaadin 控制面板,并将 .war 添加到部署文件夹。

Vaadin 控制面板的 .war 路径: /liferay-portal-6.2-ce-ga2/deploy/liferay-vaadin-plugin-web-1.1.0.0.war

然后我打开 Liferay 控制面板并尝试在应用程序->实用程序中激活 Vaadin 控制面板并收到错误消息:“Portlet 暂时不可用。”在日志消息中我收到错误消息:

com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: liferay-vaadin-plugin-web-1.1.0.0.war does not support this version of Liferay

在日志中我发现了这些错误消息:

101 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:204] Processing Vaadin Control Panel.lpkg
105 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][LiferayPackageAutoDeployListener:51] Extracting Liferay package for /liferay-portal-6.2-ce-ga2/deploy/Vaadin Control Panel.lpkg
107 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][LiferayPackageAutoDeployer:89] Extracting liferay-vaadin-plugin-web-1.1.0.0.war from Vaadin Control Panel.lpkg
382 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][LiferayPackageAutoDeployer:89] Extracting liferay-marketplace.properties from Vaadin Control Panel.lpkg
383 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][LiferayPackageAutoDeployListener:57] Liferay package for /liferay-portal-6.2-ce-ga2/deploy/Vaadin Control Panel.lpkg extracted successfully. Deployment will start in a few seconds.
Loading file:/liferay-portal-6.2-ce-ga2/tomcat-7.0.42/temp/1-kaleo-web/WEB-INF/classes/service.properties
436 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:204] Processing liferay-vaadin-plugin-web-1.1.0.0.war
437 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:79] Copying portlets for /liferay-portal-6.2-ce-ga2/deploy/liferay-vaadin-plugin-web-1.1.0.0.war
449 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:859] Deploying liferay-vaadin-plugin-web-1.1.0.0.war
453 ERROR [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:220] com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: liferay-vaadin-plugin-web-1.1.0.0.war does not support this version of Liferay
com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.deploy.auto.AutoDeployException: liferay-vaadin-plugin-web-1.1.0.0.war does not support this version of Liferay
    at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:212)
    at com.liferay.portal.deploy.auto.ThreadSafeAutoDeployer.autoDeploy(ThreadSafeAutoDeployer.java:36)
    at com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:88)
    at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.deploy(AutoDeployDir.java:50)
    at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:211)
    at com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:275)
    at com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:58)
Caused by: com.liferay.portal.kernel.deploy.auto.AutoDeployException: liferay-vaadin-plugin-web-1.1.0.0.war does not support this version of Liferay
    at com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:898)
    at com.liferay.portal.tools.deploy.BaseDeployer.autoDeploy(BaseDeployer.java:209)
    ... 6 more
455 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:224] Add liferay-vaadin-plugin-web-1.1.0.0.war to the blacklist

你如何将最新版本的 Vaadin 与最新版本的 Liferay 一起使用?

【问题讨论】:

  • 只要文件仍在部署文件夹中,就不会部署。您是否在日志中看到任何有助于找到根本原因的内容?
  • @OlafKock 谢谢奥拉夫,我已经编辑了我的问题

标签: jakarta-ee liferay vaadin liferay-6 vaadin7


【解决方案1】:

关键信息是

liferay-vaadin-plugin-web-1.1.0.0.war does not support this version of Liferay

例如作者可能已经在 6.1 上创建/测试了这个插件(可能),或者兼容版本的声明错误(不太可能)。事实上,如果我查看marketplace,该插件确实声明与 6.1 兼容,而不是 6.2。但是,市场应用程序链接到 sourcecode 和 README 文件表明它可能已经移植到 6.2 - 只是没有在市场上发布。您可能想自己检查编译。

关于如何在 Liferay 中使用最新 Vaadin 版本的最后一个问题,您可能需要查看 this article

【讨论】:

  • 感谢您的回复。我对vaadin和liferay都没有经验。起初,我阅读了 Vaadin 之书,并注意到有关将 vaadin 7 集成到 liferay 中的部分,并尝试在 liferay 中部署我的第一个 portlet。
猜你喜欢
  • 2016-01-04
  • 2012-12-25
  • 1970-01-01
  • 1970-01-01
  • 2012-08-23
  • 1970-01-01
  • 2019-02-05
  • 2018-01-11
  • 1970-01-01
相关资源
最近更新 更多