2012-03-05 80 views
0

我在Play中的依賴文件中有以下配置(縮寫)!應用:如何使用Play框架下載commons.lang?

require: 
    - play 
    - org.apache.commons -> commons.lang3 3.1 

repositories: 
    - maven: 
     type: iBiblio 
     root: "http://repo1.maven.org/maven2/" 
     contains: 
      - org.apache.commons -> commons.lang3 

但是,玩!無法獲取commons.lang包。我得到的錯誤信息:

:::: WARNINGS 
       module not found: org.apache.commons#commons.lang3;3.1 

     ==== maven: tried 

      http://repo1.maven.org/maven2/org/apache/commons/commons.lang3/3.1/commons.lang3-3.1.pom 
      -- artifact org.apache.commons#commons.lang3;3.1!commons.lang3.jar: 

      http://repo1.maven.org/maven2/org/apache/commons/commons.lang3/3.1/commons.lang3-3.1.jar 
       :::::::::::::::::::::::::::::::::::::::::::::: 

       ::   UNRESOLVED DEPENDENCIES   :: 

       :::::::::::::::::::::::::::::::::::::::::::::: 

       :: org.apache.commons#commons.lang3;3.1: not found 

       :::::::::::::::::::::::::::::::::::::::::::::: 

search.maven.org它應該是在中央資料庫。

這裏有什麼問題?

回答