“URI 具有权限组件"是什么意思? [英] What does 'URI has an authority component' mean?

查看:30
本文介绍了“URI 具有权限组件"是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 NetBeans 6.8 上构建 Java Web 项目,但收到以下错误:

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

该模块尚未部署.

它指向我的 build-impl.xml 文件,第 577 行:

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

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

GlassFish v3 错误日志说:

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.

URI 具有权限组件" 是什么意思?

推荐答案

解决方案只是 URI 格式错误(因为我的项目位置位于\"UNC 路径上).当我使用本地工作区时,此问题已得到解决.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆