Commit 6c7f6c20 authored by Spiros Koulouzis's avatar Spiros Koulouzis

set correct file name

parent 335073d5
...@@ -46,7 +46,7 @@ public class RPCServer { ...@@ -46,7 +46,7 @@ public class RPCServer {
Logger.getLogger(RPCServer.class.getName()).log(Level.SEVERE, null, ex); Logger.getLogger(RPCServer.class.getName()).log(Level.SEVERE, null, ex);
} }
} else { } else {
String resourceName = "application.properies"; String resourceName = "application.properties";
ClassLoader loader = Thread.currentThread().getContextClassLoader(); ClassLoader loader = Thread.currentThread().getContextClassLoader();
try (InputStream resourceStream = loader.getResourceAsStream(resourceName)) { try (InputStream resourceStream = loader.getResourceAsStream(resourceName)) {
prop.load(resourceStream); prop.load(resourceStream);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment