如题,我正确安装了maven,然后在netbeans IDE中创建了个maven程序,然后运行,程序总是运行不起来,然后控制台中输出:
NetBeans: Executing '"D:\Developing platform and workplaces\WebServices\Maven\apache-maven-2.2.1\bin\mvn.bat" -Dnetbeans.execution=true -Dmaven.repo.local=C:\Documents and Settings\Administrator\.m2\repository nbm:cluster nbm:run-ide'
NetBeans: JAVA_HOME=D:\Developing platform and workplaces\NetBeans\JDKAndOtherRelated
Scanning for projects...
------------------------------------------------------------------------
Building mavenproject2 - sample NetBeans Module
task-segment: [nbm:cluster, nbm:run-ide] (aggregator-style)
------------------------------------------------------------------------
[nbm:cluster]
------------------------------------------------------------------------
[ERROR]BUILD FAILURE
------------------------------------------------------------------------
The NetBeans binary directory structure for com.mycompany:module1:nbm:1.0-SNAPSHOT is not created yet.
Please execute 'mvn install nbm:cluster' to build all relevant projects in the reactor.
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 2 seconds
Finished at: Wed Jun 02 02:09:28 CST 2010
Final Memory: 5M/15M
------------------------------------------------------------------------
'cmd' 不是内部或外部命令,也不是可运行的程序
或批处理文件。 我该怎么解决呢,我在命令行窗口中输入mvn -v也会出现 "'cmd' 不是内部或外部命令,也不是可运行的程序
或批处理文件。" 这个错误提示。
NetBeans: Executing '"D:\Developing platform and workplaces\WebServices\Maven\apache-maven-2.2.1\bin\mvn.bat" -Dnetbeans.execution=true -Dmaven.repo.local=C:\Documents and Settings\Administrator\.m2\repository nbm:cluster nbm:run-ide'
NetBeans: JAVA_HOME=D:\Developing platform and workplaces\NetBeans\JDKAndOtherRelated
Scanning for projects...
------------------------------------------------------------------------
Building mavenproject2 - sample NetBeans Module
task-segment: [nbm:cluster, nbm:run-ide] (aggregator-style)
------------------------------------------------------------------------
[nbm:cluster]
------------------------------------------------------------------------
[ERROR]BUILD FAILURE
------------------------------------------------------------------------
The NetBeans binary directory structure for com.mycompany:module1:nbm:1.0-SNAPSHOT is not created yet.
Please execute 'mvn install nbm:cluster' to build all relevant projects in the reactor.
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 2 seconds
Finished at: Wed Jun 02 02:09:28 CST 2010
Final Memory: 5M/15M
------------------------------------------------------------------------
'cmd' 不是内部或外部命令,也不是可运行的程序
或批处理文件。 我该怎么解决呢,我在命令行窗口中输入mvn -v也会出现 "'cmd' 不是内部或外部命令,也不是可运行的程序
或批处理文件。" 这个错误提示。
解决方案 »
- session同步问题,有经验的朋友帮忙解答下.TS!!
- web项目中都用了什么线程啊!
- 用Digester 解析xml,我晕了,大侠们来帮个忙!!
- Tomcat连接池问题
- Hibernate3+Spring2中数据检索问题
- ActionMessages,ActionErrors,ActionMessage,ActionError的区别?
- 在线求助---关于oracle和hibernate数据库连接错误
- 关于ping抛出系统异常问题
- 谁能具体给我一段代码解释如何在ejb中使用<ejb-ref>中的资源吗或者其他的ref资源
- security登陆后无法跳转成功页面
- 请教c3p0获取连接阻塞的问题
- 使用ant怎样实现javaee项目重部署?
是不是可以找个系统修复工具修复一下?没搞死过cmd,所以不清楚哦。你使用“开始”->“运行”->“cmd”,看会不会正常打开控制台。
或批处理文件。
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[INFO] Working directory: E:\open_source\myBatis\myBatis_truck
Provider message:
The svn command failed.
Command output:
'svn' 不是内部或外部命令,也不是可运行的程序
或批处理文件。[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
检查了环境变量的设置,是正确的,但不知道为何总是出现上面的错误求高手解救啊!!