没有此类资源操作异常

时间:2019-01-16 13:34:12

标签: liferay-6

从控制面板创建新的门户网站实例时,出现以下异常

com.liferay.portal.NoSuchResourceActionException:3_WAR_opensocialportlet#VIEW         在com.liferay.portal.service.impl.ResourceActionLocalServiceImpl.getResourceAction(ResourceActionLocalServiceImpl.java:196)         在com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)         在com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)         在com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.doUpdateResourcePermission(ResourcePermissionLocalServiceImpl.java:1190)         在com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.updateResourcePermission(ResourcePermissionLocalServiceImpl.java:1312)         在com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.setResourcePermissions(ResourcePermissionLocalServiceImpl.java:1076)         在com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)         在com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)         在com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)         在com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)         在com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)         在com.liferay.portal.service.impl.GroupLocalServiceImpl.setRolePermissions(GroupLocalServiceImpl.java:4325)         在com.liferay.portal.service.impl.GroupLocalServiceImpl.initUserPersonalSitePermissions(GroupLocalServiceImpl.java:4152)         在com.liferay.portal.service.impl.GroupLocalServiceImpl.checkSystemGroups(GroupLocalServiceImpl.java:672)         在com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)         在com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)         在com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)         在com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)         在com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)         在com.liferay.portal.service.impl.CompanyLocalServiceImpl.checkCompany(CompanyLocalServiceImpl.java:396)

我已将以下条目添加到ResourceAction表中。

'3_WAR_opensocialportlet','ADD_TO_PAGE',2 '3_WAR_opensocialportlet','CONFIGURATION',4 '3_WAR_opensocialportlet','VIEW',1 '3_WAR_opensocialportlet','ACCESS_IN_CONTROL_PANEL',8 '3_WAR_opensocialportlet','PERMISSIONS',16

0 个答案:

没有答案