IntelliJ IDEA is showing errors when I use Spring\'s @Autowired annotation in the class, but the class is functioning without any problem.
@Autowired
Here is this
a little late but i hope it helps to someone else.
Make sure to put the @Service on the implementation class for the service
@Service public class ServiceNameImpl implements ServiceName { @Override public void method(ObjectType paramName) { //CODE } }
That's how i fixed the error.