title: NoClassDefFoundError in java tester
body: <pre><code>class dHeap&lt;T extends Comparable&lt;? super T&gt;&gt; implements dHeapInterface&lt;T&gt;
  
  public dHeap(int heapSize) {
      dVar = 2;
      size = heapSize;
      array = (T[]) new Comparable[heapSize];
      nelems = 0;
  
  }
  </code></pre>
  
  <p>.</p>
  
  <pre><code>public class dHeapTester {
  
  private dHeap&lt;Integer&gt; intHeap;
  private dHeap&lt;Integer&gt; dHeap;
  private dHeap&lt;String&gt; sHeap;
  
  
  @Before
  public void setUp() {
  
      intHeap = new dHeap&lt;&gt;(5);
      sHeap = new dHeap&lt;&gt;(5);
      dHeap = new dHeap&lt;&gt;(4, 5);
  </code></pre>
  
  <p>The top code is my class signature and constructor, and the bottom is my tester for it. I get a NoClassDefFoundError when running the tester and it happens during the initialization of things. Why am I getting this error? <em>The third initialization dHeap is using a second constructor that chooses the amount of children each node has rather than binary</em></p>