解決方案:Perhaps you are running on a JRE rather than a JDK?
當在maven的時候出現了這麼一個問題,在網上找了好多答案,都是說:沒有找懂啊一個jdk。如圖:
可是我配置的路徑就是jdk的路徑呀。一直以為是因為其他原因。
後來看了一下路徑下的資料夾,發現我的jdk資料夾下面少了一個jre資料夾。如圖:
後來才想到編譯java檔案需要的是jre而不是jdk。
重新找了一個jdk(自帶jre的那種。),配置路徑如圖:
重新執行maven clean或者install命令,結果如下圖;
很簡單的一個小問題,完美解決。
反思:有時候別人說的就是對的,不要自以為是。多讀幾遍,把意思理解透了,你就悟了。
相關推薦
解決方案:Perhaps you are running on a JRE rather than a JDK?
當在maven的時候出現了這麼一個問題,在網上找了好多答案,都是說:沒有找懂啊一個jdk。如圖: 可是我配置的路徑就是jdk的路徑呀。一直以為是因為其他原因。 後來看了一下路徑下的資料夾,發現我的jdk資料夾下面少了一個jre資料夾。如圖: 後來才想到編譯java檔案需要的是jre
Eclipse中執行Maven打包編譯時出現:Perhaps you are running on a JRE rather than a JDK?
出現錯誤後,查看了許多網友的解決方式,但都沒有解決我遇到的問題,可能是情況還是有些許的不同;下面直接說說我的問題的解決辦法,希望對大家有所幫助;Eclipse中Maven報錯資訊如下: 本以為可能是Eclipse配置Maven沒配置好,或者是jdk和jre環境出現問題,後來在cmd視窗找到
【maven】maven的web項目打包報錯:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
應用 cga snapshot ace owin span ons sed sse 打包過程中報錯如下: No compiler is provided in this environment. Perhaps you are running on a JRE rather
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? idea maven 打包報錯問題解決。
jdk dma pom test plugins vat ogr true 指定 mvn clean install -X -Dmaven.test.skip=true -P dev 打包報錯:No compiler is provided in this environm
關於maven項報:[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rath
關於eclipse建立maven工後進行測試報[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?的解決辦法: 報錯資訊如下: [E
解決案例No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
maven install 初始化失敗 錯誤狀況: 師兄師姐說 .............................................. SUCCESS [ 0.614 s] [INFO] sxsj-common ..................
解決Perhaps you are running on a JRE rather than a JDK?問題
轉自:http://www.bubuko.com/infodetail-743907.html Maven-No compiler is provided in this environment. Perhaps you are running on a JRE rathe
IDEA中編譯maven打包中出現 Perhaps you are running on a JRE rather than a JDK的問題解決
LZ是在IDEA新建的maven專案,到DOS介面打包時,提示: [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather th
解決maven項目install之後報出Perhaps you are running on a JRE rather than a JDK?錯誤
this 意思 能力 依賴 maven項目 com mage sdn aps 轉載:https://blog.csdn.net/hui_2016/article/details/70238741 不管在什麽地方,什麽時候,學習是快速提升自己的能力的一種體現!!!!!!!!
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
his all true .so java body program mpi .com (1)需要設置JDKWindows -> Perferences -> Java -> Installed JRES加入JDK 如:D:\Program Files\J
maven install 報錯 No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
1、控制檯列印資訊 [INFO] Scanning for projects... [INFO] [INFO] ---------------------< org.cqupt.mauger:Resource >---------------------- [INFO] Building Re
No compiler is provided in this environment . Perhaps you are running on a jre rather than a JDK?
背景:利用IDEA+maven構建一個非web的spring boot專案(Windows電腦下),程式碼完成時,使用mvn package打包報錯: No compiler is provided in this environment . Perhaps you are runni
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
小編今天在執行專案時報錯,如下圖: 第一行錯誤排查原因,發現是因為版本不對應,找到專案引用版本的地方發現沒有錯誤,內容如下: 第二行錯誤排查原因:java編譯環境未配置成jdk目錄,檢查確實是這裡的
Maven編譯失敗,提示No compiler is provided in this enviroment. Perhaps you are running on a JRE rathen a JDK ?
style detail wid image 構建項目 then 提示 tail eight 用maven對項目進行構建時,提示No compiler is provided in this enviroment. Perhaps you are running on a
Maven專案build時出現No compiler is provided in this environment. Perhaps you are running on a JRE rather
Maven專案執行測試時報錯:No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
git error: You are not allowed to push code to a protected branch on this project 解決
一、問題git push程式碼時出現:You are not allowed to push code to a protected branch on this project.二、問題解決1. 確定程式碼自己是有許可權的(上傳哪個分支就需要具有分支許可權。如果沒有mast
解決方案:No space left on device
尋找原因 從字面上理解,這個問題是說磁碟上沒有多餘的空間。 那麼到底是什麼地方將空間? 先用df命令檢視當前計算器磁碟空閒情況 df -a 我這邊執行完後可以看到/dev/vda1被完全佔用(找到對應的掛載點) 從掛載點目錄下開始使用du命令查找出空間佔用最大的檔
Git異常:Cannot delete the branch 'test1' which you are currently on
—————————————————————————————————————————————————————— 很多人問,明明有git gui 和 github可以直接圖形化操作的嗎?全部指令幹啥??? 呃(⊙o⊙)…呃(⊙o⊙)… ===> 裝逼~ O(∩_∩)O~,開玩笑的,其實就是為了
零售行業BI解決方案:就連神秘的新零售也亟需
load 分享 power 接受 website 零售行業 pic 開發部署 ref 隨著物質水平的提高,人們的品味也在隨之增高。品質走高,消費升級,零售行業在近些年迅猛發展,更叠換代。從實體店線下零售到線上零售,再到今天新概念新零售,零售業在變得越來越智能。
0512日重點:淘寶的H5手機端自適應解決方案:Flexible
自動獲取 手機端 issue 解決方案 target 解決 flex get bsp 參考文檔: https://github.com/amfe/lib-flexible https://github.com/amfe/article/issues/17 自我總結:F