我已经安装了apache maven 3.1,当我检查dos时,我得到了这个:
c:\>mvn --version Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 20:52:2 2+0530) Maven home: C:\apache-maven-3.1.1 Java version: 1.7.0-ea, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" 'cmd' is not recognized as an internal or external command, operable program or batch file.
最后一行不应该在那里。我的系统或maven有什么问题不能正常工作吗?
答案 0 :(得分:1)
将C:\Windows\System32
添加到环境变量的Path变量中,然后重试