C:\Documents and Settings\Administrator>mvn clean test [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.312s [INFO] Finished at: Tue Aug 20 13:59:00 CST 2013 [INFO] Final Memory: 1M/3M [INFO] ------------------------------------------------------------------------ [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Documents and Settings\Administrator). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProject Exception C:\Documents and Settings\Administrator>
这个 Maven 的仓库 地址 已经修改,(C:\Documents and Settings\Administrator) 为什么还要 在这里找啊。 ------解决方案-------------------- 1 mvn clean test 控制台执行命令的时候 当前的目录下面有pom.xml文件,比如说C:\Documents and Settings\Administrator 2 错误的详细内容请帖出来。
------解决方案--------------------
You've encountered a compiler bug. It is not clear which bug it might be, but there is a good chance that it would be fixed by upgrading to a later version of the JDK. 你的jdk的版本可能太老了,版本是多少的?下载最新的jdk。