getResource() java Resource folder
Why when I try to call ServiceImpl.class.getClassLoader().getResource("coopAccess_db")
I get null returned, but if I put it in a folder and specify the appropriate path getResource("db/coopAccess_db")
, the normal url
0
Author: Clool Mear, 2018-05-26
1 answers
Contact us as follows:
ServiceImpl.class.getResource("/coopAccess_db");
0
Author: ezhov_da, 2018-05-26 21:07:10