java getResource() 路径问题

java中使用getClassLoader().getResource(" xxx.txt")时,xxx.txt文件应放在 项目名\bin目录下

你可能感兴趣的:(java getResource() 路径问题)