I have just created a simple Spring Boot Application from start.spring.io. As shown in picture below. https://i.stack.imgur.com/uEZda.png
So pretty much if I run this application on eclipse without making any modification and having all jdk properly installed. It should run properly but for some reason it keeps giving me this error.
"Error: Could not find or load main class com.learn.io.SpringCloudlBCBranchService.SpringCloudlBcBranchServiceApplication Caused by: java.lang.ClassNotFoundException: com.learn.io.SpringCloudlBCBranchService.SpringCloudlBcBranchServiceApplication"
I have ran previous spring boot application on eclipse that I have imported from other laptop in here and they run perfectly fine, even basic java applications run fine but for some reason. If I create a new SpringBoot file in here and run it on eclipse I keep getting this error. Please help me out I have been trying to fix this for a while and watched a bunch of videos and can't figure out the problem. It would be very much appreciated.