我有以下目錄中的文件male_female.clj在Windows上:無法加載文件
C:\Documents and Settings\vreinpa\My Documents\Books\ProgrammingClojure\code\src\examples
啓動REPL之前,我切換到該目錄:
U:\>c:
C:\>cd C:\Documents and Settings\vreinpa\My Documents\Books\ProgrammingClojure\code\src\examples
然後我啓動REPL:
C:\Documents and Settings\vreinpa\My Documents\Books\ProgrammingClojure\code\src\examples>lein repl
Warning: classpath not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic classpath or change the name.
REPL started; server listening on localhost:13278.
然後我嘗試加載該文件,但得到以下錯誤:
user=> (load-file "male_female.clj")
user=> FileNotFoundException male_female.clj (The system cannot find the file specified) java.io.FileInputStream.open (:-2)
我在做什麼錯在這裏?在啓動REPL之前,該文件肯定位於我更改的目錄中。