When you creat a Java Maven Project in the Eclipse, your Eclipse may show the following warning
" Build path specifies execution environment J2SE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. " To get resolve from this project setup issue by following steps.
Solution:
Go to your project
---> Properties
---> Java build path : Libraries
--->Remove the "JRE System Library[J2SE 1.6]"
---> Click "Add Library" button -> JRE System Library
---> Select the new "Executin Environment" or Workspace default JRE
---> Java build path : Libraries
--->Remove the "JRE System Library[J2SE 1.6]"
---> Click "Add Library" button -> JRE System Library
---> Select the new "Executin Environment" or Workspace default JRE
Hope your problem is solved now.
Comments
Post a Comment