title: java.lang.NoClassDefFoundError: twitter4j/TwitterException
body: <p>This is my first time working with the twitter4j API to download twitter tweets. I am using Eclipse->Maven to set dependencies on the twitter4j-core-4.0.4.jar. </p>
  
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;org.twitter4j&lt;/groupId&gt;
          &lt;artifactId&gt;twitter4j-core&lt;/artifactId&gt;
          &lt;version&gt;4.0.4&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I run my project jar on a remote university unix system.
  My runnable jar(27MB) runs fine without any issues but my non-runnable jar(10KB) fails with the below error.</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: twitter4j/TwitterException
          at java.lang.Class.getDeclaredMethods0(Native Method)
          at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
          at java.lang.Class.getMethod0(Class.java:2813)
          at java.lang.Class.getMethod(Class.java:1663)
  </code></pre>
  
  <p>The "Libraries" and "order and Export" sections in "Java build path" properties of the project do have the Maven Dependencies included.</p>
  
  <p>I cannot submit the the runnable jar as it is too large. I am not sure why the error as I have successfully run other similar programs using external jars before.</p>
  
  <p>I am new to Maven and Twitter4j so I suspect this can be a known issue.</p>