'URI有权威组件'是什么意思? [英] What does 'URI has an authority component' mean?
问题描述
我试图在NetBeans 6.8上构建Java Web项目,但遇到以下错误:
模块没有
它指向我的 build-impl.xml
文件,第577行:
$ b
< nbdeploy clientUrlPart =$ {client.urlPart}debugmode =falseforceRedeploy =$ { forceRedeploy}/>
GlassFish v3错误日志显示:
<$命令执行中的异常:java.lang.IllegalArgumentException:URI具有权限组件
java.lang.IllegalArgumentException:URI在java中具有权限组件
。 io.File。< init>(File.java:368)`...等
URI有一个权限组件是什么意思?
URI格式不正确(因为我的项目位置在\\UNC路径上)。当我使用本地工作区时,此问题已修复。
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?
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.
这篇关于'URI有权威组件'是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!