zoukankan      html  css  js  c++  java
  • http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 异常

    Maven编译碰到这个异常错误

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:testResources (default-testResources) on project sas-framework: Cannot create resource output directory: D:projectsas1 开发库1.1 开发代码	runksassas-framework	arget	est-classes -> [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/MojoExecutionException
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :sas-framework
    D:projectsas1 开发库1.1 开发代码	runksassas-framework	arget	est-classes -> [Help 1]

    从在这句错误提示找到了可疑点,发现test-classes这个文件被别的程序(SourceMonitor)占用的,试下点击删除提示此文件拒绝访问,把SourceMonitor关闭,问题修复。
  • 相关阅读:
    shell 参数个数
    小坑也难受
    MaHua简介
    airflow Operators
    datax
    T-SQL 更新表操作
    T-SQL时间函数
    linux学习网站
    好看的页面
    函数-1
  • 原文地址:https://www.cnblogs.com/againn/p/7066151.html
Copyright © 2011-2022 走看看