On 7/3/07, hezjing <[EMAIL PROTECTED]> wrote:

Hi

Based on
http://mvnrepository.com/artifact/org.springframework/spring-context/2.0.4
,

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>2.0.4</version>
</dependency>


I created below Ivy dependency,

<dependency org="org.springframework" name="spring-context" rev="2.0.4" />


When run, it gives the following error

         ::::::::::::::::::::::::::::::::::::::::::::::
         ::          UNRESOLVED DEPENDENCIES         ::
         ::::::::::::::::::::::::::::::::::::::::::::::
         :: [ org.springframework | spr | 2.0.4 ]: not found
         ::::::::::::::::::::::::::::::::::::::::::::::



Did I overlook anything this time?


No, you just ran into an Ivy bug:
https://issues.apache.org/jira/browse/IVY-524

This bug is fixed on current trunk, so you can either try the trunk or clean
your cache (cleaning xml metadata is enough, you don't need to remove the
jars) and try again. Note that even with the trunk you will have to clean
your cache, since the badly parsed pom is now stored in your ivy cache.

Xavier

--

Hez




--
Xavier Hanin - Independent Java Consultant
Creator of Ivy, xooki and xoocode.org
More about me: http://xhab.blogspot.com/

Reply via email to