读写外部配置文件(ini,properties),还有127.0.0.1 不能被本机之外的节点访问
properties.load(new ClassPathResource("prop/config.properties").getInputStream());
可以检查下打包方式,看看properties有没有在打出来的jar包里
50,526
社区成员
85,605
社区内容
加载中
试试用AI创作助手写篇文章吧