简体   繁体   中英

How to initialize spring boot to project?

I'm new to spring boot. When I'm trying to initialize spring boot using intellij idea, It shows this error.

Spring启动初始化错误 1

在此处输入图片说明 2

How can I fix it? I used Spring web, spring data mongodb, lombok and spring boot devtools dependencies.

Thank you

I could find the solution for this problem. These are the steps that I followed.

  1. I delete the existing MongoDB dependency.
  2. Then I copied high usage MongoDB dependency version from MVNRepository.
  3. Then I added that copied dependency to the project.

I Fixed this Error with this solutions:

  1. Clean Project
  2. Delete MongoDb Dependency
  3. Copy high usage MongoDB dependency version from Repository
  4. Add to project Copied dependency

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM