• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't locate properties file  RSS feed

 
Ranch Hand
Posts: 643
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get following exception

Exception in thread "main" java.io.IOException: Unable to locate resource MyHandlers.properties
at org.apache.xmlrpc.server.PropertyHandlerMapping.load(PropertyHandlerMapping.java:53)
at org.apache.xmlrpc.demo.webserver.Server.main(Server.java:26)



while running the code.



Given at http://ws.apache.org/xmlrpc/server.html
 
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Exception in thread "main" java.io.IOException: Unable to locate resource MyHandlers.properties


Is "MyHandlers.properties" file is on classpath ?
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put it in the classpath and the error should disappear.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!