Your problem is in this policy file. You probably need to edit it to setup the correct permissions to associate with your application. Since RMI is loading code remotely you need to protect the client for a malicious server sending you bad code (security hole central). This looks like an example program maybe your tutorial has more info on how to properly edit this file so this example will run. You can try since this is just a simple example program:grant {
java.security.AllPermissions;
}This is NOT secure for production though.
java.security.AllPermissions;
}This is NOT secure for production though.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货