Solve error - Source folder is not a Java project - in eclipse.
If you don’t make it java project you won’t be able to add New Java Class.
While adding New Java Class
Sometimes you may face error Source folder is not a Java project
STEP 1 >
Right click on project > select Properties
Type Project Facets
And Click on Convert to faceted form..
STEP 2 >
Tick Java (checkbox), Click Apply and OK.