java.security.AccessControlException: access denied ("org.elasticsearch.SpecialPermission" "*")
Elasticsearch | 作者 bookup | 发布于2018年06月22日 | 阅读数:4678
java.security.AccessControlException: access denied ("org.elasticsearch.SpecialPermission" "*") es 6.3.0
SpecialPermission.check();
return AccessController.doPrivileged((PrivilegedAction<BufferedReader>) () -> {
try {
return new BufferedReader(new InputStreamReader(IpUtils2.class.getResourceAsStream(name), Charset.forName("UTF-8")));
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
});
Caused by: java.security.AccessControlException: access denied ("org.elasticsearch.SpecialPermission" "*")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:1.8.0_161]
at java.security.AccessController.checkPermission(AccessController.java:884) ~[?:1.8.0_161]
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) ~[?:1.8.0_161]
at org.elasticsearch.SpecialPermission.check(SpecialPermission.java:89) ~[elasticsearch-6.3.0.jar:6.3.0]
1 个回复
bookup
赞同来自: