title: java.lang.IllegalArgumentException - 'other' has different root
body: <p>I am writing a java application using Vertx. I am trying to deploy one of my modules using the following code. But I am facing IllegalArgumentException, which I am not able to solve.</p>
  
  <p>Part of my main class:</p>
  
  <pre><code>System.out.println(System.getProperty("user.dir")
                  + File.separator + "modules" + File.separator
                  + "agents-0.0.1-SNAPSHOT-mod.zip");
          InputStream agf = new FileInputStream(System.getProperty("user.dir")
                  + File.separator + "conf" + File.separator
                  + "dbproperties1.json");
              String json = IOUtils.toString( agf );
              LOGGER.debug("db json:::"+json);
          JsonObject configprop =  new JsonObject(json);
          pm.deployModuleFromZip(System.getProperty("user.dir")
                  + File.separator + "modules" + File.separator
                  + "agents-0.0.1-SNAPSHOT-mod.zip", configprop, 1,
                  new AsyncResultHandler&lt;String&gt;() {
                      public void handle(AsyncResult&lt;String&gt; asyncResult) {
                          LOGGER.debug("Deployment agnet ID dddd");
                          if (asyncResult.succeeded()) {
                              LOGGER.debug("Deployment agnet ID is "
                                      + asyncResult.result());
                          } else {
                              LOGGER.debug("Deployment agnet  ID is null "
                                      + asyncResult.result());
                              asyncResult.cause().printStackTrace();
                          }
                      }
                  }); 
          agf.close();
  </code></pre>
  
  <p>The error in the console is as follows:</p>
  
  <pre><code>java.lang.IllegalArgumentException: 'other' has different root
      at sun.nio.fs.WindowsPath.relativize(WindowsPath.java:392)
      at sun.nio.fs.WindowsPath.relativize(WindowsPath.java:44)
      at org.vertx.java.platform.impl.DefaultPlatformManager.setPathResolver(DefaultPlatformManager.java:1128)
      at org.vertx.java.platform.impl.DefaultPlatformManager.access$2000(DefaultPlatformManager.java:55)
      at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1276)
      at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:171)
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:353)
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:366)
      at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
      at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p>Any help in this regard will be appreciated.</p>