title: How to include dependencies jar using JNLP file?
body: <p>Okay this is my first time to try Java web start, so I have jar that built with Maven as dependencies repository, and put it into Apache root folder including all dependencies jars inside folder lib, then I created key store, HTML, and JNLP file.</p>
  
  <p>I started the Apache services, and tried to access localhost and it's ran smoothly until I ran jnlp file with my browser's java plugin, and <code>NoClassDefFoundError</code> showed, I knew that my dependencies jars aren't included. So I found <a href="https://stackoverflow.com/questions/15376139/how-to-include-jar-dependencies-in-java-webstart-project">How to include jar dependencies in java webstart project</a> the accepted answer doesn't work for me, and I don't know what am I doing wrong? </p>
  
  <p>Here's my JNLP file:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jnlp spec="1.0+"    codebase="http://localhost/transactionSimulator2"    href="launch.jnlp"&gt;
  
  &lt;information&gt;
      &lt;title&gt; Transaction Simulator&lt;/title&gt;
      &lt;vendor&gt; Daksa &lt;/vendor&gt;
      &lt;homepage href=""&gt;&lt;/homepage&gt;
      &lt;description&gt;Transaction Simulator &lt;/description&gt;
      &lt;description kind="short"&gt;Transaction Simulator&lt;/description&gt;
      &lt;offline-allowed/&gt;
  &lt;/information&gt;
  &lt;security&gt;
      &lt;all-permissions/&gt;
  &lt;/security&gt;
  &lt;resources&gt;
      &lt;j2se version="1.6+"/&gt;
      &lt;jar href="TransactionSimulator-1.0-SNAPSHOT.jar" main="true" download="eager"/&gt;
      &lt;target name="signLibs"&gt;
          &lt;signjar destDir="lib"  alias="yusufNugraha" keystore="testKeys"
          storepass="yusufnugraha" force="true" &gt;
              &lt;path&gt;
                  &lt;fileset dir="lib" includes="*.jar" /&gt;
              &lt;/path&gt;
          &lt;/signjar&gt;   
          &lt;echo message="Library files were signed."/&gt;
      &lt;/target&gt;
  &lt;/resources&gt;
  &lt;application-desc main-class="com.daksa.transactionsimulator.ui.MainFrame"&gt;
  &lt;/application-desc&gt;
  &lt;/jnlp&gt;
  </code></pre>