开发者

how to create maven property

开发者_如何学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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜