2017-07-04 78 views
0

我想在liferay 7中创建VM主题。我在package.json中进行了更改,并将templateLanguage更改为vm。接下来,我更改了liferay-look-and-feel.xml,并将标记值更改为cm,并进行了gulp构建。虚拟机文件被创建,但是当我把它部署到服务器上,我得到这样的警告:
在Liferay 7中创建VM主题

09:53:24,368 WARN [Refresh Thread: Equinox Container: a046c07b-9d60-0017-134e-c4d1864b896c][ThemeHotDeployListener:129] Support of Velocity is deprecated. Update theme testTheme to use FreeMarker for forward compatibility. 

也是浏览器,控制面板和标题标签不显示,而是警告显示如下:

An app that can VIEW com.liferay.admin.kernel.util.PortalProductNavigationControlMenuApplicationType$ProductNavigationControlMenu belongs here. Please contact the portal administrator or install such an app from the Liferay Marketplace. 

下面是如何显示在浏览器的警告链接:Image of Warning Message

什么可以是问题?

回答

0

当我将应用程序从6.2迁移到7时,我遇到了同样的问题。Liferay 7支持freemarker模板语言。当我使用Velocity时,我曾经使用空白页面和页面不习惯显示。我建议你使用freemarker。