1
私はWindows上で起動を実行しようとしていますが、私はビルドを起動するたびに、それは次のようなエラーが吹く:Clojureのブートエラー
Boot.main Boot.java: 258
...
boot.App.main App.java: 491
boot.App.runBoot App.java: 399
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 150
org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke ClojureRuntimeShimImpl.java: 159
...
boot.main/-main main.clj: 202
boot.file/tmpfile file.clj: 136
java.nio.file.Files.createTempFile Files.java: 897
java.nio.file.TempFileHelper.createTempFile TempFileHelper.java: 161
java.nio.file.TempFileHelper.create TempFileHelper.java: 138
java.nio.file.Files.createFile Files.java: 632
java.nio.file.Files.newByteChannel Files.java: 361
sun.nio.fs.WindowsFileSystemProvider.newByteChannel WindowsFileSystemProvider.java: 222
sun.nio.fs.WindowsSecurityDescriptor.fromAttribute WindowsSecurityDescriptor.java: 358
java.lang.UnsupportedOperationException: 'posix:permissions' not supported as initial attribute
マイbuild.bootファイルがあります次のように:
(set-env!
:target-path "target/"
:source-paths #{"src/java"}
:resource-paths #{"src/clj"}
:dependencies '[[org.clojure/clojure "1.7.0"]
[http-kit "2.1.18"]
[ring/ring-codec "1.0.1"]
[expectations "2.0.9"]
[slingshot "0.12.2"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[cheshire "5.5.0"]]
:dev-dependencies '[[junit/junit "4.12"]])
(task-options!
pom {:project 'my-project
:version "0.1.0-SNAPSHOT"}
aot {:namespace '[my-project.core]}
jar {:manifest {}})
(deftask build "build project" []
(comp (aot)
(javac)
(uber)
(jar)
(target "target/")))
このビルドは、Ubuntuの上で完璧に動作し、私は、私はWindows上で起動を実行するために必要な何かが足りないと思います。
私はこれはJavaのFileクラスでのCreateFileメソッドにはいくつかの呼び出しに関連していることをhere見てきたが、このコールはブートによって作られているので、私はいくつかの設定を失われるかもしれないと思う...