BonitaStudio 7.10 - object accès restricted
I have migrate a process in 7.6.4 to 7.10.
But i have lot of error in my groovy code. The error is :
Restriction d’accès : Le type User n’est pas accessible en raison d’une restriction pesant sur la bibliothèque requise C:\BonitaStudioCommunity-7.10.0\plugins\org.bonitasoft.studio.console.libs_7.10.0\lib\bonita-common.jar
For example, i can't do something like that now:
List users = new ArrayList();
Because, 'User' class is restricted by Bonita. I have try to configure access rule with the wildcard '*' but it's not possible.
If you have already encounter this issue, i'm taking any help ;)
It feels like a compiler issue.
I have found similar threads related to Eclipse (Bonita Studio is based on Eclipse RCP), maybe it can help:
Can you check under Studio > Preferences > Java what is your java JRE configuration?