Thanks Edwin!!! That did it.
------------------------------
Emerson David
------------------------------
Original Message:
Sent: Sun November 17, 2024 10:27 PM
From: Edwin Premkumar David
Subject: Loading resource files in Custom Class Loader
Hello -
Try below code to load the property file at the same level which is defined as a resource in the same class loader.
Properties properties = new Properties();
properties.load(getClass().getClassLoader().getResourceAsStream("<YOUR_PROP_FILE>.properties"));
------------------------------
Edwin Premkumar David
------------------------------