Cause was: linux-78et.suse: linux- 78et.suse: unknown error at java.net.InetAddress.getLocalHost(InetAddress.javanet.sf.ehcache.CacheManager.newInstance(CacheManager.java:
/known_hosts' but is OS agnostic and works fine under Linux.) return
上面的函数在Windows上运行得很好,当部署到LInux服务器上的AWS时,我希望它能很好地工作,因为我最初看到的修改known_hosts文件的代码是为Linux编写