摘要: ``` 获取本类service路径,然后字符串截取和拼接 String classpath= this.getClass().getResource("/").getPath(); String path = classpath.substring(0,classpath.length() - "WEB-INF/classes/".length()); ... 阅读全文
posted @ 2018-12-17 12:50 zhaocundang 阅读(399) 评论(0) 推荐(0) 编辑