国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Maven: ‘mvn‘ is not recognized as an internal or external command

這篇具有很好參考價(jià)值的文章主要介紹了Maven: ‘mvn‘ is not recognized as an internal or external command。希望對大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

下載并配置好Maven之后,CMD測試安裝是否成功:mvn -v

提示:

'mvn' is not recognized as an internal or external command,
operable program or batch file.

檢查環(huán)境變量:

MAVEN_HOME:

Maven: ‘mvn‘ is not recognized as an internal or external command,web開發(fā),maven,java

%MAVEN_HOME%\bin:

?Maven: ‘mvn‘ is not recognized as an internal or external command,web開發(fā),maven,java

?看上去沒問題,怎么回事呢?

探索一番,找到了原因。是Path變量中,最后一個(gè)分號的問題,刪掉分號即可。

Maven: ‘mvn‘ is not recognized as an internal or external command,web開發(fā),maven,java

?重新測試,成功:

Maven: ‘mvn‘ is not recognized as an internal or external command,web開發(fā),maven,java文章來源地址http://www.zghlxwxcb.cn/news/detail-635073.html

到了這里,關(guān)于Maven: ‘mvn‘ is not recognized as an internal or external command的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • UnrecognizedOptionException: zookeeper is not a recognized option - 解決方案

    UnrecognizedOptionException: zookeeper is not a recognized option - 解決方案 當(dāng)你在編程過程中遇到類似于\\\"Exception in thread ‘main’ joptsimple.UnrecognizedOptionException: zookeeper is not a recognized option\\\"的錯(cuò)誤消息時(shí),這通常是由于在使用命令行參數(shù)解析庫時(shí)提供了未識(shí)別的選項(xiàng)所致。在本文中,我們將

    2024年02月05日
    瀏覽(14)
  • kafka啟動(dòng)創(chuàng)建topic報(bào)錯(cuò):zookeeper is not a recognized option

    當(dāng)前使用版本:kafka_2.13-3.4.0 使用老版本的創(chuàng)建topic的命令,是用 zookeeper 來創(chuàng)建,但是報(bào)錯(cuò)如下 ?D:SoftwareDoumentkafka_2.13-3.4.0 .binwindowskafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test Exception in thread \\\"main\\\" joptsimple.UnrecognizedOptionException: zookeeper

    2024年02月07日
    瀏覽(23)
  • ERROR: Network tsg declared as external, but could not be found. Please create the network manually

    ERROR: Network tsg declared as external, but could not be found. Please create the network manually

    docker第一次安裝,然后在用docker-compose up -d部署redis時(shí)出現(xiàn)這個(gè)錯(cuò)誤,就按照它的提示,使用docker network create tsg命令,再次執(zhí)行部署成功。 ? ? ?

    2024年02月11日
    瀏覽(27)
  • .eslintrc.js is treated as an ES module file as it is a .js file whose nearest parent package.json c

    在給vue3項(xiàng)目添加eslint的時(shí)候,安裝完依賴,并且在package.json中的scripts配置了eslint檢測的命令之后執(zhí)行檢測命令,發(fā)生如下報(bào)錯(cuò): 按照報(bào)錯(cuò),打算把根目錄下的.eslintrc.js改為.eslintrc.cjs,改完之后確實(shí)能夠執(zhí)行了,但是.eslintrc.cjs文件一直顯示報(bào)錯(cuò),官方有建議幾種文件的格式

    2024年02月12日
    瀏覽(32)
  • OpenJDK Maven 編譯出錯(cuò): package jdk.nashorn.internal.runtime.logging does not exist

    OpenJDK 1.8.0 Maven 3.8.5 TencentOS Server 3.1 缺少 jdk.nashorn.internal.runtime.logging 。 OpenJDK中沒有nashorn.jar。 jdk.nashorn.internal.runtime.logging 在 nashorn.jar 中。 解決辦法:安裝jdk1.8,從jdk的安裝目錄中找到 nashorn.jar 拷貝到OpenJDK的對應(yīng)位置。 nashorn.jar 在 %JAVA_HOME%jrelibext 目錄。 JDK的高版本中

    2024年02月13日
    瀏覽(17)
  • jmeter 報(bào)此錯(cuò)誤 \report‘ as folder is not empty

    jmeter 報(bào)此錯(cuò)誤 \report‘ as folder is not empty

    jmeter 報(bào)此錯(cuò)誤 report’ as folder is not empty 解決方案 出現(xiàn)此錯(cuò)誤的原因試因?yàn)橥粋€(gè)界面出現(xiàn)同樣的文件,只要把文件刪除,重新執(zhí)行此命令即可。 刪除文件框住得report和result.jtl 即可 執(zhí)行成功

    2024年02月11日
    瀏覽(38)
  • UOS -- Your system is not activated. Please activate as soon as possible for normal use

    遠(yuǎn)程UOS時(shí)總是顯示Your system is not activated. Please activate as soon as possible for normal use提示。 解決方法: systemctl |grep license //查詢license.service是否啟動(dòng) systemctl stop license.service //關(guān)閉license.service systemctl disable license.service //關(guān)閉開機(jī)啟動(dòng)license.service

    2024年02月12日
    瀏覽(19)
  • vue name命名錯(cuò)誤 Do not use built-in or reserved HTML elements as component

    描述: Do not use built-in or reserved HTML elements as component id: header 這里指的是components的名稱命名不正確。 在項(xiàng)目中我使用的是header 作為組件名稱,但是在前端html中這個(gè)是內(nèi)置組件來的,名稱已被占用不能再使用這些名稱了。 解決方法: 把命名修改一下,避免名稱沖突就好了。

    2024年02月14日
    瀏覽(21)
  • 【scala】編譯build報(bào)錯(cuò) “xxx is not an enclosing class“

    【scala】編譯build報(bào)錯(cuò) “xxx is not an enclosing class“

    private[xxx]是訪問權(quán)限控制在xxxx包的意思。 解決辦法: 把[sources]刪掉,或者改成和包名一致即可。

    2024年01月23日
    瀏覽(70)
  • flutter開發(fā)警告This class (or a class that this class inherits from) is marked as ‘@immutable‘, but one

    flutter開發(fā)警告This class (or a class that this class inherits from) is marked as ‘@immutable‘, but one

    This class (or a class that this class inherits from) is marked as ‘@immutable’, but one or more of its instance fields aren’t final: SerialsTimer.tasks Dart推斷出你寫的這個(gè)類是一個(gè)@immutable(不可變)的類。 這個(gè)警告是因?yàn)樵谝粋€(gè)被標(biāo)記為 @immutable(不可變)的類中,其中的某個(gè)實(shí)例字段(成員變量)沒

    2024年02月04日
    瀏覽(22)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包