After project generation on spring.io When opening with intellij RunApplication in mainApplication is always unresolve
Comment From: wilkinsona
Thanks for the report, but it's not clear why you think that this is a Spring Boot problem. It works fine for me both in IDEA and on the command line. FWIW, I selected Maven as the build system when generating the project.
If you would like us to spend some more time investigating, can you please explain why you believe that Spring Boot is causing the problem? It sounds like it may be specific to your IDEA installation from what you've described thus far.
Comment From: kephren226
I don't really believe that spring boot is the problem I'm new to spring boot I generated the project many times , look at intellj sdk setting but getting the same problem And i just got the same error with vscode
Comment From: kephren226
I decided to use Spring boot bersion 2.3.10 instead of 2.4.5 and it works fine now
Comment From: snicoll
I don't really believe that spring boot is the problem
Going forward, please note that, as mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. If you have a question, please ask on Stack Overflow or come chat with the community on Gitter.
Comment From: kephren226
Now how to you explain that an older version works without any problem but the current version version did not work ?
Comment From: wilkinsona
One cause of that would be a corrupted dependency. When you changed the version of Spring Boot, a different version of that dependency would then be downloaded which would appear to fix the problem. If you like some more help with diagnosing the problem, please come and chat on Gitter or post a question on Stack Overflow.