종속성 해결을 시도하는 동안 StackOverflowerr 오류가 발생했습니까?

8053 단어 leiningen

묘사

우리가 프로젝트에 대한 운행StackOverflowError(lein v2.4.3)을 시도했을 때 우리는 하나lein deps :tree를 얻었다.이 프로젝트는 아파치DS에 의존하고 있는데 부인할 수 없다. 아파치DS의 POM에는 상당히 과장된 일이 있는 것 같다.이것은 마벤트에서 잘 작동하는 것 같아서, 나는 여기에 반드시 리닌을 곤혹스럽게 하는 것이 있다고 생각한다.project.clj:
(defproject puppetlabs/foo "0.1.0-SNAPSHOT"
  :repositories [["Apache Releases" "https://repository.apache.org/content/repositories/releases"]]

  :dependencies [[org.clojure/clojure "1.5.1"]
                 [org.apache.directory.server/apacheds-core-annotations "2.0.0-M17"
                  :exclusions [org.apache.directory.jdbm/apacheds-jdbm1]]
                 [org.apache.directory.jdbm/apacheds-jdbm1 "2.0.0-M2"]])
다음은 잘 작동하는 POM과 같습니다.
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompany.app</groupId>
  <artifactId>my-app</artifactId>
  <version>1</version>

  <repositories>
    <repository>
      <id>Apache Releases</id>
      <url>https://repository.apache.org/content/repositories/releases</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>org.apache.directory.server</groupId>
      <artifactId>apacheds-core-annotations</artifactId>
      <version>2.0.0-M17</version>
      <exclusions>
        <exclusion>
           <groupId>org.apache.directory.jdbm</groupId>
           <artifactId>apacheds-jdbm1</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.directory.jdbm</groupId>
      <artifactId>apacheds-jdbm1</artifactId>
      <version>2.0.0-M2</version>
    </dependency>

  </dependencies>

</project>
스택 추적(일부):
lein deps :tree                                                                         2:58:09 PM
Exception in thread "main" java.lang.StackOverflowError
    at clojure.lang.RT.seq(RT.java:484)
    at clojure.core$seq.invoke(core.clj:133)
    at clojure.core$concat$fn__3955.invoke(core.clj:685)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:484)
    at clojure.core$seq.invoke(core.clj:133)
    at clojure.core$concat$fn__3955.invoke(core.clj:685)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:484)
    at clojure.core$seq.invoke(core.clj:133)
    at clojure.core$concat$fn__3955.invoke(core.clj:685)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:484)
    at clojure.core$seq.invoke(core.clj:133)
    at clojure.core$concat$fn__3955.invoke(core.clj:685)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:484)
    at clojure.core$seq.invoke(core.clj:133)
    at clojure.core$concat$fn__3955.invoke(core.clj:685)

토론 #1

#1491의 사본.호스트에서 고정 확인됨:
$ ~/workspace/leiningen/bin/lein deps :tree
 [cider/cider-nrepl "0.7.0"]
   [cljs-tooling "0.1.3" :exclusions [[org.clojure/clojure]]]
   [compliment "0.1.3" :exclusions [[org.clojure/clojure]]]
   [org.clojure/java.classpath "0.2.0" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.namespace "0.2.5" :exclusions [[org.clojure/clojure]]]
   [org.clojure/tools.trace "0.7.8" :exclusions [[org.clojure/clojure]]]
   [org.tcrawley/dynapath "0.2.3" :exclusions [[org.clojure/clojure]]]
 [clojure-complete "0.2.3" :exclusions [[org.clojure/clojure]]]
 [org.apache.directory.jdbm/apacheds-jdbm1 "2.0.0-M2"]
 [org.apache.directory.server/apacheds-core-annotations "2.0.0-M17" :exclusions [[org.apache.directory.jdbm/apacheds-jdbm1]]]
   [commons-io "2.4"]
   [junit "4.11"]
     [org.hamcrest/hamcrest-core "1.3"]
   [org.apache.directory.api/api-ldap-model "1.0.0-M23"]
     [antlr "2.7.7"]
     [org.apache.directory.api/api-asn1-ber "1.0.0-M23"]
   [org.apache.directory.api/api-ldap-schema-data "1.0.0-M23"]
   [org.apache.directory.api/api-util "1.0.0-M23"]
   [org.apache.directory.mavibot/mavibot "1.0.0-M5"]
     [log4j "1.2.17"]
     [org.slf4j/slf4j-log4j12 "1.7.7"]
   [org.apache.directory.server/apacheds-core-api "2.0.0-M17"]
     [net.sf.ehcache/ehcache-core "2.4.4"]
     [org.apache.directory.api/api-asn1-api "1.0.0-M23"]
     [org.apache.directory.api/api-i18n "1.0.0-M23"]
     [org.apache.directory.api/api-ldap-client-api "1.0.0-M23"]
       [commons-pool "1.6"]
     [org.apache.directory.api/api-ldap-extras-aci "1.0.0-M23"]
     [org.apache.directory.server/apacheds-core-constants "2.0.0-M17"]
     [org.apache.mina/mina-core "2.0.7"]
   [org.apache.directory.server/apacheds-core-shared "2.0.0-M17"]
     [org.apache.directory.api/api-ldap-extras-codec-api "1.0.0-M23"]
   [org.apache.directory.server/apacheds-core "2.0.0-M17"]
     [bouncycastle/bcprov-jdk15 "140"]
     [commons-lang "2.6"]
     [org.apache.directory.api/api-ldap-codec-core "1.0.0-M23"]
     [org.apache.directory.api/api-ldap-extras-util "1.0.0-M23"]
     [org.apache.directory.server/apacheds-interceptors-admin "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-authn "2.0.0-M17"]
       [org.apache.directory.api/api-ldap-extras-codec "1.0.0-M23"]
     [org.apache.directory.server/apacheds-interceptors-authz "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-changelog "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-collective "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-event "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-exception "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-journal "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-normalization "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-number "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-operational "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-referral "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-schema "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-subtree "2.0.0-M17"]
     [org.apache.directory.server/apacheds-interceptors-trigger "2.0.0-M17"]
       [org.apache.directory.api/api-ldap-extras-trigger "1.0.0-M23"]
   [org.apache.directory.server/apacheds-i18n "2.0.0-M17"]
   [org.apache.directory.server/apacheds-jdbm-partition "2.0.0-M17"]
     [org.apache.directory.server/apacheds-core-avl "2.0.0-M17"]
   [org.apache.directory.server/apacheds-ldif-partition "2.0.0-M17"]
   [org.apache.directory.server/apacheds-mavibot-partition "2.0.0-M17"]
   [org.apache.directory.server/apacheds-xdbm-partition "2.0.0-M17"]
     [commons-collections "3.2.1"]
   [org.slf4j/slf4j-api "1.7.7"]
 [org.clojure/clojure "1.5.1"]
 [org.clojure/tools.nrepl "0.2.3" :exclusions [[org.clojure/clojure]]]

토론 #2

이런 것들은 저:user의 개인 자료를 포함합니다.하나 없음:
감사합니다!

좋은 웹페이지 즐겨찾기