grant {    // anything    permission java.security.AllPermission;    };

解决方案 »

  1.   

    你是说把我的java.policy文件
    grant {
    permission java.net.SocketPermission "*","listen,accept,connect";
    };
    该为 
    grant {     
            permission java.net.SocketPermission "*","listen,accept,connect";
            permission java.security.AllPermission;    };
      

  2.   

    http://www.crg.cs.nott.ac.uk/~cmg/ACC/java-rmi/rmi-tutorial.html
      

  3.   

    http://java.sun.com/docs/books/tutorial/rmi/running.html
      

  4.   

    客户端反序列化出现问题
    1:远程对象的stub 问题
    2,远程对象中有自定义的类对象,同时需要反序列化,这时需要客户端能够找到自定义对象的类定义。
      

  5.   

    看一眼吧
    http://expert.csdn.net/Expert/topic/1808/1808981.xml?temp=.9801294