how to add and read resource file from jar

前端 未结 2 704
生来不讨喜
生来不讨喜 2020-12-11 11:09

I have hibernate.cfg.xml and test.txt in the path which i read by java program. Now when i created the jar using maven those files were not present. So i read that i should

2条回答
提交回复
热议问题