title: How do I run a java application with maven from command line on ubuntu?
body: <p>I'm trying to run this <a href="https://github.com/danvega/httpclient-tutorial" rel="nofollow noreferrer">java application</a> with maven from command line on ubuntu with OpenJDK 13</p>
  <pre><code>openjdk version &quot;13.0.2&quot; 2020-01-14
  OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.2+8)
  OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.2+8, mixed mode, sharing)
  </code></pre>
  <p>The project is created with Intellij Idea.</p>
  <p>I guess I've made the build successfully with these commands</p>
  <pre><code>git clone https://github.com/danvega/httpclient-tutorial.git
  cd httpclient-tutorial
  mvn package
  </code></pre>
  <p>However, I don't know how to run the application from command line.</p>
  <p>I tried these commands</p>
  <pre><code>cd target/classes
  java dev.danvega.Application
  </code></pre>
  <p>and got this error</p>
  <pre><code>Error: Unable to initialize main class dev.danvega.Application
  Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/type/TypeReference
  </code></pre>
  <p>What am I missing?</p>