[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

版权声明:本文为博主原创文章,未经博主允许不得转载。    https://blog.csdn.net/weinichendian/article/details/51354345
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.hx.maintain:maintain:war:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-context-support:jar -> version ${org.springframework-version} vs ${spring.version} @ line 78, column 15
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:tomcat-maven-plugin is missing. @ line 319, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building jzoom Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> tomcat-maven-plugin:1.1:run (default-cli) @ maintain >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ maintain ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 11 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ maintain ---
[INFO] Compiling 3 source files to D:\workspace_eclipse\hx_maintain\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] \workspace_eclipse\hx_maintain\src\main\java\com\hxqc\maintain\modules\admin\dao\InterfaceLogDao.java:[35,8] 错误: 找不到符号
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.787s
[INFO] Finished at: Mon May 09 16:57:41 CST 2016
[INFO] Final Memory: 18M/224M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project maintain: Compilation failure
[ERROR] \workspace_eclipse\hx_maintain\src\main\java\com\hxqc\maintain\modules\admin\dao\InterfaceLogDao.java:[35,8] 错误: 找不到符号
[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

问题由来:这个问题主要是在maven target 中没有找到对应的编译文件

解决办法:project----->clean------>选中maven项目,重新启动就KO了。


--------------------- 
作者:weinichendian 
来源:CSDN 
原文:https://blog.csdn.net/weinichendian/article/details/51354345 
版权声明:本文为博主原创文章,转载请附上博文链接!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project mvc2: Compilation failure [ERROR No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? [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。 引用 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project taotao-manager-web: Failed to clean project: Failed to delete E:\JAVA\code2\taotao-manager\taotao-manager-web\target\tomcat\logs\access_log.2018-05-03 -> [Help 1。 引用 [INFO — maven-surefire-plugin:2.22.2:test (default-test) @ helloworld — Downloading from aliyunmaven: https://maven.aliyun.com/repository/public/org/apache/maven/surefire/surefire-junit-platform/2.22.2/surefire-junit-platform-2.22.2.pom [INFO Failure detected. 根据提供的信息,你遇到了Maven编译和清理错误。首先,在引用中,错误信息显示你的环境中没有提供编译器,这可能是因为你使用的是JRE而不是JDK。你需要确保你的环境中安装了JDK。 而在引用中,错误信息显示清理项目时失败了,可能是因为文件无法被删除。你可以检查文件是否被其他程序占用或者你是否具有足够的权限来删除该文件。 最后,在引用中,提示下载"Maven Surefire Plugin"的特定版本时失败了。你可以尝试手动下载该插件并将其放入本地Maven仓库,或者尝试更换其他可用的镜像站点。 如果你需要更详细的解决方案,你可以参考提供的URL链接,这些链接提供了更多关于问题的信息和可能的解决方案。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [导入 maven项目出现 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 的解决方法](https://blog.csdn.net/men_ma/article/details/108807932)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException](https://blog.csdn.net/Butterfly_resting/article/details/80185618)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [idea SpringBoot package打包报错...](https://blog.csdn.net/Starrysky_LTL/article/details/106604625)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值