I am learning Spring Boot and I don't have any prior experience regarding this. I am facing two errors that I tried to solve for hours still I can't get through them.
The first error is "Cannot resolve symbol 'annotation'" The second one is "Cannot resolve symbol 'WebServlet'"
This is my first day with spring boot. I want to know the reason why in the first error, ie in line 3 I am getting an error with just annotations
while the rest words from the statements seem to be dead and why I am getting an error with WebServlet
in line 8 but not in line 3. Also please help me solve the issue.