SpringBoot项目启动报错
java.io.IOException: The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported.
翻译:使用LocalRMIServerSocketFactory创建的服务器套接字仅接受来自已导出RMI远程对象的主机上运行的客户端的连接
在这里插入图片描述
解决方案:
打开【Edit Configuration】
VM options :-Dcom.sun.management.jmxremote.local.only=false
在这里插入图片描述
重新启动项目,完成!

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐