인클로저를 설치하고 작동시키는 데 문제가 있습니다. 이 가이드 http://www.enclojure.org/gettingstarted을 따라 성공적으로 인클로저를 설치했습니다 (제 생각 엔). 그러나 샘플 애플리케이션 (labrepl)을 빌드하려고하면 오류가 많이 발생하고 빌드가 실패합니다. 오랫동안 Java를 사용하지 않았고 Netbeans를 사용한 적이 한번도 없었습니다. 오류는이 도메인에 대한 제한된 지식으로는별로 도움이되지 않습니다. 가이드에서 최신 Netbeans과 인클로저 URL을 사용하고 있습니다. 내가 Windows를 사용하고 있기 때문에 git을 사용하여 repo를 복제 할 수 없으므로 여기에서 무엇을해야할지 모르겠습니다.Netbeans와 함께 인클로저 설치
어쨌든 여기에 오류 메시지가 있습니다.
WARNING: You are running embedded Maven builds, some build may fail due to incompatibilities with latest Maven release.
To set Maven instance to use for building, click here.
Scanning for projects...
[#process-resources]
[resources:resources]
Using default encoding to copy filtered resources.
[#compile]
[ERROR]Transitive dependency resolution for scope: compile has failed for your project.
[ERROR]Error message: Missing:
[ERROR]----------
[ERROR]1) org.clojure:clojure-contrib:jar:1.2.0-master-SNAPSHOT
[ERROR] Try downloading the file manually from the project website.
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.clojure -DartifactId=clojure-contrib -Dversion=1.2.0-master-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.clojure -DartifactId=clojure-contrib -Dversion=1.2.0-master-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] Path to dependency:
[ERROR] 1) labrepl:labrepl:jar:0.0.1
[ERROR] 2) org.clojure:clojure-contrib:jar:1.2.0-master-SNAPSHOT
[ERROR]----------
[ERROR]1 required artifact is missing.
[ERROR]for artifact:
[ERROR] labrepl:labrepl:jar:0.0.1
[ERROR]from the specified remote repositories:
[ERROR] central (http://repo1.maven.org/maven2),
[ERROR] clojars (http://clojars.org/repo/),
[ERROR] incanter (http://repo.incanter.org),
[ERROR] clojure-snapshots (http://build.clojure.org/snapshots),
[ERROR] clojure (http://build.clojure.org/releases),
[ERROR] clojure-releases (http://build.clojure.org/releases)
[ERROR]Group-Id: labrepl
[ERROR]Artifact-Id: labrepl
[ERROR]Version: 0.0.1
[ERROR]From file: C:\Users\chloey\Documents\NetBeansProjects\RelevanceLabRepl\pom.xml
------------------------------------------------------------------------
For more information, run with the -e flag
------------------------------------------------------------------------
BUILD FAILED
------------------------------------------------------------------------
Total time: 1 second
Finished at: Wed Jun 09 21:53:04 CDT 2010
Final Memory: 72M/172M
------------------------------------------------------------------------
감사합니다.
올바른 철자는 "Enclosure"가 아닌 "Enclojure"입니다. 본인이 직접 수정할 권한이 없습니다. – Sergey