【发布时间】:2013-02-11 04:56:42
【问题描述】:
当我将此行添加到我的 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,hessian 3.2.1被列为依赖项,但是the page of hessian中没有3.2.1版本的hessian包,是这个问题吗?我该如何继续?
【问题讨论】:
-
仓库是否有 com.caucho - hessian - 3.2.1?
-
我是 ivy 新手,我没有配置任何存储库,我希望从 mvnrepository 自动解决依赖关系,在我的编辑中,您会找到问题摘要。
标签: spring-mvc ivy