Maven打包报错:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources...

痛定思痛。 2024-02-05 20:06 147阅读 0赞

目录

    • 一、场景
    • 二、报错信息
    • 三、解决

一、场景

Maven打包时报错


二、报错信息

  1. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project xxx-xxx-xxx: Input length = 1 -> [Help 1]
  2. [ERROR]
  3. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  4. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  5. [ERROR]
  6. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  7. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

在这里插入图片描述


三、解决

pom.xmlplugins添加以下配置

  1. <plugin>
  2. <groupId>org.apache.maven.plugins</groupId>
  3. <artifactId>maven-resources-plugin</artifactId>
  4. <version>3.1.0</version>
  5. </plugin>

发表评论

表情:
评论列表 (有 0 条评论,147人围观)

还没有评论,来说两句吧...

相关阅读