This should be working out of the box. Why doesn't it?
It seems like I can't import a Spring Boot Gradle project into Eclipse. It doesn't recognize any of the dependencies. This should be easy. Why is this not working?
Here is the configuration of my Spring Initilizr project:
Then do the following:
- Import
- Existing gradle project
- Select the root directory
- Import
It comes up and doesn't recognize the dependencies in the project:
Here's what I've tried:
- Stack overflow (most of the examples are for maven and say refresh dependency tree)
- Cleaning and building the project
- Building the project
- Manually checking that the dependencies are there in the build.gradle file
- Installing Spring Tools into eclipse
- Converting project to faceted form (Java)
- reran the initilizr with as a WAR file
Depicted is my gradle.build file:



I fixed it. It's the most stupid solution in the world.
When you extract the file from the .zip the initilizr creates, you can't use the root directory.
example/example/blah/blah/blah...
You have to go into the extracted directory and up one directory.
So go into example, and import the example file within that directory,.
That's why it was busted.