title: IVY: Cannot resolve restlet dependency
body: <p>I have a java project setup and wanted to use ivy as dependency management tool. However, I could not get the simplest one to work.</p>
  
  <p>Here is the code I have:</p>
  
  <p><strong>ivy.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  &lt;ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"&gt;
      &lt;info
          organisation="de.fau.fsahoy"
          module="de.fau.fsahoy.android.api15"
          status="integration"&gt;
      &lt;/info&gt;
  
      &lt;dependencies&gt;
          &lt;dependency org="org.restlet.android" name="org.restlet" rev="2.1-RC5"/&gt;
      &lt;/dependencies&gt;
  &lt;/ivy-module&gt;
  </code></pre>
  
  <p><strong>ivysettings.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;ivysettings &gt;
      &lt;settings defaultResolver="maven" /&gt;
      &lt;resolvers&gt;
          &lt;chain name="maven" returnFirst="true"&gt;
              &lt;ibiblio name="restlet" m2compatible="true" root="http://maven.restlet.org/" /&gt;
          &lt;/chain&gt;
      &lt;/resolvers&gt;
  
  &lt;/ivysettings&gt;
  </code></pre>
  
  <p>The errors I get are:</p>
  
  <pre><code>Impossible to resolve dependencies of de.fau.fsahoy#de.fau.fsahoy.android.api15;working@JonasErl-PC
  
  Failed to load the descriptor for ivysettings.xml[*] in fsahoy-team-d-gitThe ivy file 'C:\Users\JonasErl\Code\fsahoy-team-d-git\ivysettings.xml' could not be parsed: null in file:/C:/Users/JonasErl/Code/fsahoy-team-d-git/ivysettings.xml
  
  
  org.apache.ivyde.eclipse.IvyDEException: The ivy file 'C:\Users\JonasErl\Code\fsahoy-team-d-git\ivysettings.xml' could not be parsed: null in file:/C:/Users/JonasErl/Code/fsahoy-team-d-git/ivysettings.xml
      at org.apache.ivyde.eclipse.CachedIvy.getModuleDescriptor(CachedIvy.java:376)
      at org.apache.ivyde.eclipse.resolve.IvyResolveJob.run(IvyResolveJob.java:137)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
  Caused by: java.text.ParseException: null in file:/C:/Users/JonasErl/Code/fsahoy-team-d-git/ivysettings.xml
      at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser$Parser.parse(XmlModuleDescriptorParser.java:301)
      at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.parseDescriptor(XmlModuleDescriptorParser.java:116)
      at org.apache.ivy.plugins.parser.ModuleDescriptorParserRegistry.parseDescriptor(ModuleDescriptorParserRegistry.java:88)
      at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser.parseDescriptor(AbstractModuleDescriptorParser.java:48)
      at org.apache.ivyde.eclipse.CachedIvy.getModuleDescriptor(CachedIvy.java:368)
      ... 2 more
  Caused by: java.lang.NullPointerException
  </code></pre>
  
  <p>You can have a look at the repository structure at <a href="http://maven.restlet.org" rel="nofollow">maven.restlet.org</a></p>
  
  <p>These errormessages are not the very best unfortunately. How can I fix this?</p>