开发者

how to create maven property

开发者 https://www.devze.com 2022-12-27 16:38 出处:网络
开发者_如何学PythonHow can I create maven property with the classpath as part of it ?You don\'t need to create anything, simply load your file from the classpath (as mentioned in this answer):

开发者_如何学PythonHow can I create maven property with the classpath as part of it ?


You don't need to create anything, simply load your file from the classpath (as mentioned in this answer):

InputStream is = getClass().getResourceAsStream("/file.txt " );
...
0

精彩评论

暂无评论...
验证码 换一张
取 消