The JAVA_HOME environment variable is not defined cor NB: JAVA_HOME should point to a JDK not a JRE

這問題困擾我好久,好在在百度搜到答案。正常安裝好maven並配置好環境變量。我的java -version和mvn -v 都能運行正常。 就是 用maven編譯運行代碼時 mvn package是報錯。 The JAVA_HOME environment variable is not defined correctly This environment variable is needed to
相關文章
相關標籤/搜索