title: Spring jar dependencies
body: <p>Trying to build Spring-based application one needs to figure out all necessary dependencies the application will have.</p>
  
  <p>For example, I was using HibernateTemplate, and each time I run the application the ClassNotFound exception comes out. So I “google” for jars that contains this particular class, after search mvnrepository to find appropriate artifact. Always confuse about which version to use.</p>
  
  <p>And it’s happened again and again, and only after few hours and few dozens of dependencies added the application become runnable.</p>
  
  <p>But even after that, I tried to use my app. on different computer with slightly different parameters, and slf4j class not found error appeared, even after testing extensively on the developer machine, still some dependencies missing.</p>
  
  <p>Now it works fine, but I want to distribute my application, and not sure if on another system there will no dependency missing.</p>
  
  <p>So, what is the best practice to determine all necessary dependencies not only at design time but in runtime too? Is there any tool for that?</p>
  
  <p>How one can manage versions confusion, when there are dozens of dependencies each with its own version? </p>