I understand what you're going through. i myself just got a new puppy.
Anyway, make sure that you don't put him in there when he is in trouble because then he will NEVER want to go into it. Also, try coaxing him into the cage with a reward or treat of some kind and give it to him when he does as asked/instructed. Whenever I leave I give my dog a treat when she goes into her crate, and she doesn't whine.
However, you may not want to leave them in the crate for a long time. Maybe your dog is afraid of tight, enclosed spaces. Just take your time training him and he should come aound.
Good luck!