Any movies with a spoiled male lead who has to adjust to military life?

I am curious if there are any movies similar to this, where the lead is the spoiled kid that tries to avoid being enlisted, but ends up being forced to enlist, and maybe ends up liking it at the very end.

Many thanks for considering my request.