java.io.IOException: Unable to locate resource handler.properties


Stack-trace :
java.io.IOException: Unable to locate resource handler.properties
	at org.apache.xmlrpc.server.PropertyHandlerMapping.load(PropertyHandlerMapping.java:53)
	at org.code2care.rpc.JavaServer.main(JavaServer.java:21)

You may get IOException in your XML-RPC based Application when you try to run the server if handler properties file is not placed in the correct location or you have missed adding the file. The file should be placed in your Project folders src folder, if you place it in your package or at the root of the Project folder you will get this error!

PropertyHandlerMapping propHandlerMapping = new PropertyHandlerMapping();
propHandlerMapping.load(Thread.currentThread().getContextClassLoader(),"handler.properties");
xmlRpcServer.setHandlerMapping(propHandlerMapping);
How to resolve IOException XML-RPC
How to resolve IOException XML-RPC