Liberty Server – ClassLoader.getSystemResource returns null

Developed a rest service which uses third party jars. Reviewing their code I found that they are using ClassLoader.getSystemResource(“log4j.properties”) to retrieve the data. This code returns null and henceforth I get null pointer exception always. The same code if I deploy in websphere 8.5.5.7 and set server classpath it is working fine.
Since I am using Liberty in my local machine this is not retrieving the path.

I also tried setting classloader in server.xml but no use.
<library id="config"><folder dir="/properties/dev/" includes="*.properties" scanInterval="5s"/></library>
<enterpriseApplication id="AbcEAR"location="AbcEAR.ear" name="AbcEAR"><classloader privateLibraryRef="config"></classloader></enterpriseApplication>