Spring Boot application can't resolve the org.springframework.boot package

前端 未结 17 1955
半阙折子戏
半阙折子戏 2020-12-29 19:34

I have set up a spring boot project using the Spring Initializer, I tried several times to create a new project or play with the dependencies, everything seems to be in plac

17条回答
  •  我在风中等你
    2020-12-29 20:03

    Maybe there is a problem with the JAR files in the local Maven repository. Try deleting the .m2/repository folder and hit Maven -> Update Project... another time to trigger Maven to download the dependencies again. I tried it and it worked for me.

提交回复
热议问题