Java得到classpath:绝对路径

String path = Thread.currentThread().getContextClassLoader().getResource("").getPath();
相关文章
相关标签/搜索