获取类所在jar的路径
摘要:
ClassLoader classloader = XmlOptions.class.getClassLoader(); URL res = classloader.getResource("org/apache/xmlbeans/XmlOptions.class"); String path = 阅读全文
posted @ 2022-05-13 10:14 mageboo 阅读(22) 评论(0) 推荐(0) 编辑