Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile相关的知识,希望对你有一定的参考价值。

maven 的时候报错
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.578s
[INFO] Finished at: Mon Nov 10 16:08:48 CST 2014
[INFO] Final Memory: 22M/83M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project reqm-webapp: Compilation failure
[ERROR] \ITPS4.0\workspace_hebei_dmp_svn2.0\dmp\reqm-webapp\src\main\java\com\pactera\platform\reqm\web\action\workflow\RepositoryRestAction.java:[857,83] 无法将 com.pactera.platform.reqm.core.service.IProcessTaskNodeFormService 中的 findProcessTaskFormByTaskId(java.lang.String,java.lang.String) 应用于 (java.lang.String)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
如何解决

参考技术A 编译失败了,看看有没有异常信息抛出来
是否可以解决您的问题?追问

无法将 com.pactera.platform.reqm.core.service.IProcessTaskNodeFormService 中的 findProcessTaskFormByTaskId(java.lang.String,java.lang.String) 应用于 (java.lang.String)

Maven - Failed to execute goal org.apache.maven.plugins:maven-clean-plugin

解决方案

这个问题报错一般是被占用掉了。一般这种问题都是在运行时忘记把上次运行的关掉,而是直接又运行造成的结果(文件或文件夹被上次运行时所占用),可以停止上次运行或者正在运行的项目程序,再重新试试。

以上是关于Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile的主要内容,如果未能解决你的问题,请参考以下文章

运行maven项目时出现一下问题:“ Failed to execute goal org.apache.maven.plugins“

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile

maven报错---Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:create (default-c

Maven多模块项目单独编译子模块项目时报错:Failed to execute goal on project

Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.1.0