Reputation: 113
I pulled a repository from GitHub, and opened the project in Spring Tools Suite. It is a spring boot project with many annotations, but STS is not recognizing any of them. The errors are all like "Autowired cannot be resolved to a type".
I used STS before, and all the projects I created on my own can function normally, the annotations can be recognized.
I searched for some answers on Stack Overflow, they say that I need to include maven in my build path, I tried, but still it prevents me with an error.
How can I get STS to function normally and make it recognize the annotations?
Upvotes: 1
Views: 2167
Reputation: 823
import it as a gradle project and see the magic happen by itself... :)
Upvotes: 1