To resolve this issue, please do the following steps,
- Right click on the Maveen Project.
- Choose "Build path" in the Menu.
- Choose "Configure Build path".
- Choose "Libraries tab".
- Select "JRE System Library" and click on "Edit: button.
- Choose "workspace default JRE" and click "Finish".