java 路径读取 海文思密达 2020-12-11 107 阅读1分钟 src平齐目录,即project下:Paths.get(a.txt) classpath: this.getClass().getClassLoader().getResource("")