When I do a clean all on my maven project in Eclipse, it always comes back with the following error:
当我在Eclipse中的maven项目上清理所有内容时,它总会返回以下错误:
The filename, directory name, or volume label syntax is incorrect
文件名,目录名或卷标语法不正确
I have the maven builder and java bulider enabled. Does anyone know what this error means?
我启用了maven builder和java bulider。有谁知道这个错误意味着什么?
thanks,
Jeff
2 个解决方案
#1
It could be related to bug MECLIPSE-269: the full error message might help as this " "java.io.IOException: The filename, directory name, or volume label syntax is incorrect
" is actually the root cause of "org.apache.maven.lifecycle.LifecycleExecutionException: Can't canonicalize system path
".
它可能与bug MECLIPSE-269有关:完整的错误消息可能有帮助,因为这个“”java.io.IOException:文件名,目录名或卷标语法不正确“实际上是”org.apache“的根本原因。 maven.lifecycle.LifecycleExecutionException:无法规范化系统路径“。
I get a "
Can't canonicalize system path
" error using the goaleclispse:eclipse
when the<warSourceDirectory>
of the maven-war-plugin starts with${basedir}
.
If I remove the${basedir}
, the build is successful. If, as it appears, the war plugin uses different rules related to the prefixing a path with ${basedir}, then I consider it a bug because the configuration of<warSourceDirectory>
is inconsistent with similar tags.当maven-war-plugin的
以$ {basedir}开头时,我使用目标eclispse:eclipse得到“Can can canonicalize system path”错误。如果我删除$ {basedir},则构建成功。如果看起来像war插件使用与$ {basedir}前缀相关的不同规则,那么我认为这是一个错误,因为 的配置与类似的标签不一致。
#2
use the following command to get exact cause of an error.
使用以下命令获取错误的确切原因。
mvn eclipse:eclipse -X
The result of above command will help you to fix an issue.
上述命令的结果将帮助您解决问题。
#1
It could be related to bug MECLIPSE-269: the full error message might help as this " "java.io.IOException: The filename, directory name, or volume label syntax is incorrect
" is actually the root cause of "org.apache.maven.lifecycle.LifecycleExecutionException: Can't canonicalize system path
".
它可能与bug MECLIPSE-269有关:完整的错误消息可能有帮助,因为这个“”java.io.IOException:文件名,目录名或卷标语法不正确“实际上是”org.apache“的根本原因。 maven.lifecycle.LifecycleExecutionException:无法规范化系统路径“。
I get a "
Can't canonicalize system path
" error using the goaleclispse:eclipse
when the<warSourceDirectory>
of the maven-war-plugin starts with${basedir}
.
If I remove the${basedir}
, the build is successful. If, as it appears, the war plugin uses different rules related to the prefixing a path with ${basedir}, then I consider it a bug because the configuration of<warSourceDirectory>
is inconsistent with similar tags.当maven-war-plugin的
以$ {basedir}开头时,我使用目标eclispse:eclipse得到“Can can canonicalize system path”错误。如果我删除$ {basedir},则构建成功。如果看起来像war插件使用与$ {basedir}前缀相关的不同规则,那么我认为这是一个错误,因为 的配置与类似的标签不一致。
#2
use the following command to get exact cause of an error.
使用以下命令获取错误的确切原因。
mvn eclipse:eclipse -X
The result of above command will help you to fix an issue.
上述命令的结果将帮助您解决问题。