Java版 - JAVA RMI access denied?? WHY?? |
|
|
|
|
|
g**y 发帖数: 4 | 1 Got following error when running client program made by me.
Exception in thread "main" java.security.AccessControlException:
access denied (java.net.SocketPermission groucho.doc.ic.ac.uk resolve)
at java.security.AccessControlContext.
checkPermission(AccessControlContext.java:270)
at java.security.AccessController.
checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.
java:542)
at java.lang.SecurityManager.checkCo | f****n 发帖数: 208 | 2 Did you try to use some security policy?
-Djava.security.policy=...?
【在 g**y 的大作中提到】 : Got following error when running client program made by me. : Exception in thread "main" java.security.AccessControlException: : access denied (java.net.SocketPermission groucho.doc.ic.ac.uk resolve) : at java.security.AccessControlContext. : checkPermission(AccessControlContext.java:270) : at java.security.AccessController. : checkPermission(AccessController.java:401) : at java.lang.SecurityManager.checkPermission(SecurityManager. : java:542) : at java.lang.SecurityManager.checkCo
|
|
|
|
|
|