當我這行添加到我的ivy.xml文件:常春藤 - 彈簧片具有未解決的依賴
<ivy-module version="2.0">
<info organisation="Marouane" module="example"/>
<dependencies>
<dependency org="com.sun.faces" name="jsf-impl" rev="2.1.19" />
<dependency org="com.sun.faces" name="jsf-api" rev="2.1.19" />
<dependency org="org.springframework" name="spring-context" rev="3.2.1.RELEASE" />
<!-- this line -->
<dependency org="org.springframework" name="spring-web" rev="3.2.1.RELEASE" />
</dependencies>
</ivy-module>
我有一個關於一個未解決的依賴關係的警告,並沒有什麼下載。
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: com.caucho#hessian;3.2.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
編輯: 這裏是問題總結:
module not found: com.caucho#hessian;3.2.1
==== local: tried
$HOME/.ivy2/local/com.caucho/hessian/3.2.1/ivys/ivy.xml
-- artifact com.caucho#hessian;3.2.1!hessian.jar:
$HOME/.ivy2/local/com.caucho/hessian/3.2.1/jars/hessian.jar
==== shared: tried
$HOME/.ivy2/shared/com.caucho/hessian/3.2.1/ivys/ivy.xml
-- artifact com.caucho#hessian;3.2.1!hessian.jar:
$HOME/.ivy2/shared/com.caucho/hessian/3.2.1/jars/hessian.jar
==== public: tried
http://repo1.maven.org/maven2/com/caucho/hessian/3.2.1/hessian-3.2.1.pom
-- artifact com.caucho#hessian;3.2.1!hessian.jar:
http://repo1.maven.org/maven2/com/caucho/hessian/3.2.1/hessian-3.2.1.jar
我參觀了Maven倉庫網站,the page of Spring web 3.2.1,粗麻布3.2.1被列爲依賴關係,但在the page of hessian沒有版本3.2.1的粗麻布包,這是問題嗎?我如何繼續?
確實倉庫有com.caucho - 粗麻布 - 3.2.1? – 2013-02-26 00:39:02
我是新來的常春藤,我沒有配置任何存儲庫,我希望依賴將自動從mvnrepository中解決,在我的編輯中,你會發現問題總結。 – elaich 2013-02-26 06:50:21