RT ……
解决方法:
打开 .zshrc 文件,将 Maven 环境变量配置加入其中,或者

source ~/.bash_profile

添加到 .zshrc 中。

PS: 之前搞不懂,每次使用 mvn 命令时无效,都需要使用 source ~/.bash_profile 命令后才行,搜嘎!

参考:https://ruby-china.org/topics/23158

相关文章:

  • 2021-10-26
  • 2021-10-17
  • 2021-12-10
  • 2022-12-23
  • 2021-09-21
  • 2022-02-07
  • 2022-01-22
猜你喜欢
  • 2022-12-23
  • 2021-08-26
  • 2022-01-18
  • 2021-06-04
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
相关资源
相似解决方案