当前位置:网站首页>idea启动项目mvn命令终端用不了法将“mvn”项识别为 cmdlet
idea启动项目mvn命令终端用不了法将“mvn”项识别为 cmdlet
2022-07-28 04:06:00 【耳东哇】
问题:
mvn : 无法将“mvn”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
解决
方案一:自己下载相应maven版本然后下载到某一路径,然后添加其环境变量
方案二:使用idea默认的maven的默认路径。下面我具体讲讲方案二
1,找到idea自带的maven的路径。我的默认路径:D:\tool\IntelliJ IDEA 2022.1.3\plugins\maven\lib自行自己电脑对应安装idea的位置去查找。
2,配置环境变量的时候。
新建系统变量 MAVEN_HOME 变量值:D:\tool\IntelliJ IDEA 2022.1.3\plugins\maven\lib\maven3
编辑系统变量 Path 添加变量值: %MAVEN_HOME%\bin
验证
关机重启
边栏推荐
- Advanced Mathematics (Seventh Edition) Tongji University exercises 3-5 personal solutions
- Lightpicture - exquisite drawing bed system
- [day03] process control statement
- 静态博客搭建工具汇总
- Un7.27: common commands of redis database.
- 简单、好用的性能测试工具推荐
- Iterator function operation of iterator learning
- Greed 122. The best time to buy and sell stocks II
- Data rich Computing: m.2 meets AI at the edge
- 一名合格的软件测试工程师,应该具备哪些技术能力?
猜你喜欢
![[untitled]](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[untitled]

Analysis of static broadcast transmission process

WordPress simple mkblog blog theme template v2.1

Crowdfunding platform system based on JSP & Servlet

Adding DSP library to STM32F103 and its solution

Data mining-01

STC timer is abnormal (how to modify the initial value, the timing time is 100ms)

Selenium -- Web automated testing tool

C语言:求一个整数存储在内存中的二进制中1的个数

I did these three things before the interview, and the result was actually direct
随机推荐
jdbc使用
Kingbasees Security Guide for Jincang database -- 5.1. database transmission security
C语言:求一个整数存储在内存中的二进制中1的个数
Remove screen cutting and copying restrictions
C language: realize the exchange of two numbers without creating temporary variables
Appnium -- app automated test tool
Greed - 55. Jumping game
常用的弱网测试工具
Greed 45. Jumping game II
In the official online CV2 document, check the optional values of OpenCV specific parameters
Adding DSP library to STM32F103 and its solution
RT-Thread改变打印串口(在BSP的基础上添加其他功能)
巧用栈回溯,帮你快速定位问题
Interview essential skills: SQL query special training!
Program life | test engineers only know a little? Seven shortcuts teach you to learn new technology quickly
[untitled]
How does MySQL ensure high availability
搬家通知!
CV2. Threshold(), CV2. Findcontours(), CV2. Findcontours image contour processing
My creation anniversary