Java: no security manager: RMI class loader disabled

后端 未结 5 1643
遥遥无期
遥遥无期 2020-11-29 05:29

Hi I have RMI application and now I try to invoke some methods at server from my client. I have following code:

public static void main(final String[] args)          


        
5条回答
  •  日久生厌
    2020-11-29 05:47

    I know why it happens. for example you start server in the project A, but you use the Client in the project B to request this server,this is wrong. So you should put the server and client in the same project.

提交回复
热议问题