Hi everyone,
I'm facing this warning "Attempted to access declared members" when my portlet app (ex: myapp.war, containing several portlets) starts up, with Security Manager enabled on Liferay 6.2.0 M5 and M6.
The message is fired by a call to
getDeclaredMethods() made by
org.springframework.core.convert.support.IdToEntityConverter in webapps/myapp/WEB-INF/lib/org.springframework.core-3.0.7.RELEASE.jar.
After reading the doc at
here and
there, I still don't understand how to get rid of this warning.
My problem seems analog to
LPS-31182, with a difference: the caller is in a jar from my war file.
I tried:
security-manager-class-loader-reference-ids=myapp
security-manager-get-bean-property=org.springframework.core.convert.support.IdToEntityConverterI tried also to define a java.policy in WEB-INF with:
grant codeBase "file:${myapp}${/}-" {
permission java.lang.RuntimePermission "accessDeclaredMembers";
};But the warning is still there. Unfortunately, the security-manager
generate option doesn't help. Does anyone have any clue about his ?
Thanks in advance,
Philippe
Please sign in to flag this as inappropriate.