I used somebody source code, and jar libraries thereof. When I build the war file upload to my server, I often encounter NoClassDefFound errors because the libraries are not in the artifact. I learned (or overheard somewhere) that maven will automatically pack everything needed into the war files (depending on running goal). Is it true so? I used somebody source code, and jar libraries