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

相关文章
相关标签/搜索