Effective teachers establish close and personal relationships with their students BUT they don't need their students to love them. In other words, they don't use their students to fill their own emotional needs. This will help a teacher avoid taking personally what students do or don't do and thus be in a better position to focus on the needs of the students.
A favorite quote of mine is, "It doesn't matter how much you care for me, but rather that I love you enough." It's important to remember that love can be an action even when it isn't a feeling. A teacher may not feel love for all his students but he can still demonstrate respect and care for all students. A teacher does this when he feels it is his responsibility to teach all students as much as possible regardless of how he feels about them.