close

[Fixed] package org.springframework.boot does not exist

Today We are Going To Solve package org.springframework.boot does not exist in Java. Here we will Discuss All Possible Solutions and How this error Occurs So let’s get started with this Article.

How to Fix package org.springframework.boot does not exist Error?

  1. How to Fix package org.springframework.boot does not exist Error?

    To Fix package org.springframework.boot does not exist Error just Add this dependency. Here you have to just add this dependency
    <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> By doing this you can solve your error very easily. Try this!

  2. package org.springframework.boot does not exist

    To Fix package org.springframework.boot does not exist Error just Uncomment the spring-boot-starter-data-jpa. You have to just Uncomment the spring-boot-starter-data-jpa dependency, and re-evaulate what dependencies you actually want. By doing this you can solve this error.

Solution 1 : Add this dependency

Here you have to just add this dependency

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>

By doing this you can solve your error very easily. Try this!

Solution 2 : Uncomment the spring-boot-starter-data-jpa

You have to just Uncomment the spring-boot-starter-data-jpa dependency, and re-evaulate what dependencies you actually want. By doing this you can solve this error.

Conclusion

So these were all possible solutions to this error. I hope your error has been solved by this article. In the comments, tell us which solution worked? If you liked our article, please share it on your social media and comment on your suggestions. Thank you.

Also Read These Solutions

Leave a Comment