What does 'URI has an authority component' mean?

Kirby picture Kirby · Mar 2, 2010 · Viewed 106.1k times · Source

I am attempting to build a Java web project on NetBeans 6.8, but I get get the following error:

The module has not been deployed.

It points to my build-impl.xml file, line 577:

<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>

The GlassFish v3 error log says:

SEVERE: Exception in command execution : java.lang.IllegalArgumentException: URI has an authority component
java.lang.IllegalArgumentException: URI has an authority component
  at java.io.File.<init>(File.java:368)`..., etc.

What does "URI has an authority component" mean?

Answer

Kirby picture Kirby · Mar 3, 2010

The solution was simply that the URI was malformed (because the location of my project was over a "\\" UNC path). This issue was fixed when I used a local workspace.