Is anyone one else dating and in love with a compulsive liar?

My boyfriend and I have been together for almost 2 years and I love him very much, but he lies about the stupidest things that wouldn't matter? I just don't understand. Anyone else dealing with this and if so how do you cope?