BuildPathSpecifiesExecution environment JavaSE-1.7

警告:java

DescriptionResourcePathLocationTypeide

Build path specifies execution environment JavaSE-1.7. There are no JREs installed in the workspace that are strictly compatible with this environment. dubboxdemo-serviceBuild pathJRE System Library Problemui

解決方法:this

  1. 右鍵當前項目,選擇 properties,在新窗口中選擇 java build path,而後切換到 Libraries 選項卡,移除「JRE System Library[J2SE 1.7]」spa

  2. 單擊「Add Library」,在新窗口中選擇 JRE System Libraryip

  3. image.png

3.最後選擇 「Executin Environment」 或默認 Workspace default JREimage.pngci

5.點擊Apply andclose,成功後:image.pngit

相關文章
相關標籤/搜索