mybatis / jpetstore-6

A web application built on top of MyBatis 3, Spring 3 and Stripes
http://www.mybatis.org/spring/sample.html
Apache License 2.0
574 stars 1.36k forks source link

mvn clean package BUILD FAILURE #846

Open lyl-244 opened 1 month ago

lyl-244 commented 1 month ago

I'm using this project for the first time, when I do the step: mvn clean package, the terminal showing the following error, what should I do to fix it?

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 08:10 min [INFO] Finished at: 2024-07-17T20:38:56+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources (default-resources) on project jpetstore: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.3.1:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:3.3.1 or one of its dependencies could not be resolved: [ERROR] [ERROR] [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/PluginResolutionException

harawata commented 1 month ago

Hello @lyl-244 ,

The CI builds are successful. And I just ran ./mvnw clean package against master and the build was successful as well (macOS 14.5, JDK 17.0.6).

So, I don't see any problem on our end. Here are a few advices.