Re: Unable to find final method in superclass

2014-05-19 Thread Pradeep Gollakota
Thank you very much Paul. Worked like a charm! On Monday, May 19, 2014 9:11:26 PM UTC-4, Paul Richardson wrote: > > Hi Pradeep, > > The exception you are seeing happens when clojure can't find the correct > method; this is often due to an "arity" mismatch, as is the case here. > > .getPath expec

Re: Unable to find final method in superclass

2014-05-19 Thread Paul Richardson
Hi Pradeep, The exception you are seeing happens when clojure can't find the correct method; this is often due to an "arity" mismatch, as is the case here. .getPath expects two arguments: a String followed by a String array. Java makes the variadic parameter seem optional, but in clojure it mus

Unable to find final method in superclass

2014-05-19 Thread Pradeep Gollakota
Hi All, I’m trying to work with NIO in Java 7, and I’m not able to access methods that are declared in the super class. (.getPath (java.nio.file.FileSystems/getDefault) "/") The above code throws the following Exception: Exception in thread "main" java.lang.IllegalArgumentException: No match