Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mvn install报错 #238

Closed
LambertDT opened this issue Mar 28, 2023 · 3 comments
Closed

Mvn install报错 #238

LambertDT opened this issue Mar 28, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@LambertDT
Copy link

碰到问题,请在 https://github.com/YunaiV/ruoyi-vue-pro/issues 搜索是否存在相似的 issue。

不按照模板提交的 issue,会被系统自动删除。

基本信息

  • ruoyi-vue-pro 版本:最新
  • 操作系统:MacOS
  • 数据库:MySQL

你猜测可能的原因

(必填)我花费了 2-4 小时自查,发现可能的原因是:MacOS系统问题。 同样的代码编译,MacOS报错,win10不报错

复现步骤

第一步,
mvn clean package install '-Dmaven.test.skip=true'
第二步,
报错
第三步,

报错信息

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.3.0:jar (default-jar) on project yudao-spring-boot-starter-biz-weixin: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [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 -rf :yudao-spring-boot-starter-biz-weixin
带上必要的截图
image

@Sky96712
Copy link

Sky96712 commented Mar 30, 2023

你的idea版本是什么?我的本地环境也是Mac idea:2023.1,jdk1.8.0_361,也出现一模一样的问题

@YunaiV
Copy link
Owner

YunaiV commented Apr 2, 2023

你的idea版本是什么?我的本地环境也是Mac idea:2023.1,jdk1.8.0_361,也出现一模一样的问题

maven 版本多少?

@YunaiV
Copy link
Owner

YunaiV commented Apr 2, 2023

本地测试,maven 3.9.1 3.9.0 3.8.x 版本都没问题。
这个 issue 暂时关闭,有问题单独开 issue 哈。

@YunaiV YunaiV self-assigned this Apr 2, 2023
@YunaiV YunaiV added the question Further information is requested label Apr 2, 2023
@YunaiV YunaiV closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants