this.getClass().getResource("/").getPath();
从根目录获取载入文件:
this.getClass().getResourceAsStream("/myshop.properties")