以下是代码:
ServiceContext serviceContext = new ServiceContext();
serviceContext.setAddCommunityPermissions(true);
serviceContext.setAddGuestPermissions(false);
logger.info("setAddGuestPermissions");
try {
GroupLocalServiceUtil.addGroup(
100L,
"testing",
CounterLocalServiceUtil.increment(),
"abc",
"the abc",
3,
null,
true,
false,
"abc-abc",
0L,
serviceContext,
ture);
} catch (PortalException ex) {
//--
} catch (SystemException ex) {
//--
}
从weblogic获取以下错误:
ERROR [GroupLocalServiceImpl] Error adding default application layouts
有什么想法我做错了什么?怎么解决这个问题?