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
More Posts related to Java,
- Java equals method - Tutorial
- Unbound classpath container: JRE System Library [JavaSE-1.7]
- Spring Boot: @RequestBody not applicable to method
- Java 8: Steam map with Code Examples
- Java Program: Random Number Generator
- Java java.time.Clock class code examples [Java Date Time API]
- Fix: type argument is not within bounds of type-variable T
- [Fix] java.net.MalformedURLException: unknown protocol
- Java 7 addSuppression() and getSuppression() Exception Handling
- Convert Java Array to ArrayList Code Example
- How to Word-Warp Console logs in IntelliJ
- Ways Compare Dates in Java Programming with Examples
- Remove Trailing zeros BigDecimal Java
- CRUD operations in Spring Boot + JDBC
- [Java Threads] Should we extend Thread Class or implement Runnable interface
- Json Serialization and Deserialization using Java Jackson
- Create simple struts2 project using maven commands
- How to install Java OpenJDK 11 on Alpine Linux
- Unsupported major.minor version 52.0 in java
- Error: Can not find the tag library descriptor for
- Java: Convert String to Binary
- How to run Java Unit Test cases with Apache Maven?
- Java: Testing Private Methods in JUnit using reflection API Example
- Java JDBC Connection with MySQL Driver in VS Code + Troubleshooting
- Java Join Strings with Comma Separator
More Posts:
- npm WARN saveError ENOENT: no such file or directory, open /mnt/c/package.json - JavaScript
- Error: Safari quit unexpectedly. Problem Report for Safari - MacOS
- Python: Fix - TypeError: NoneType object is not iterable - Python
- Mac: Turn off Auto Capitalization of Words - MacOS
- Managed Metadata error - The data returned from the tagging UI was not formatted correctly - SharePoint
- Clear SFTP Prompt Screen on macOS Terminal - MacOS
- [Eclipse] Syntax error, annotations are only available if source level is 1.5 or greater - Eclipse
- Bash: Allow Command to Fail without exiting Script - Bash