maven命令必须在用户路径上执行?

时间:2016-09-19 02:40:09

标签: maven

我在路径“D:”上执行mvn -v命令,但输出显示

 java [-options] class [args...]

 or   java [-options] -jar jarfile [args...]

但是我在路径“C:\ Users \ xxx”上执行相同的命令,运行正常。

Apache Maven 3.3.3 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00)
Maven home: D:\temp\apache-maven-3.3.3-bin\apache-maven-3.3.3
Java version: 1.8.0_65, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_65\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

0 个答案:

没有答案