无法链接角色名称为[rolename] liferay 6.1的portlet [portletname]的角色

问题描述 投票:0回答:1

当我在liferay 6.1.2上部署我的portlet时,出现此错误:

01:57:10,382 ERROR [pool-2-thread-1][PortletImpl:2253] Unable to link role for portlet [numberauctionmenu_WAR_numberauctionportlet] with role-name [power-user] because role-link is null
01:57:10,382 ERROR [pool-2-thread-1][PortletImpl:2253] Unable to link role for portlet [numberauctionmenu_WAR_numberauctionportlet] with role-name [administrator] because role-link is null
01:57:10,382 ERROR [pool-2-thread-1][PortletImpl:2253] Unable to link role for portlet [numberauctionmenu_WAR_numberauctionportlet] with role-name [guest] because role-link is null
01:57:10,382 ERROR [pool-2-thread-1][PortletImpl:2253] Unable to link role for portlet [numberauctionmenu_WAR_numberauctionportlet] with role-name [user] because role-link is null

但是我的portlet可以正常工作,没有错误...解决方案是什么?

java liferay liferay-6
1个回答
0
投票

在我的liferay-portlet.xml中,我有:

© www.soinside.com 2019 - 2024. All rights reserved.