title: IntelliJ Spring Boot: How to create an executable jar
body: <p>I'm trying to create an executable jar from IntelliJ.</p>
  
  <p>First I got the Java Security Exception and I changed <code>sqljdbc4-4.0</code> to <code>unsigned</code>. First problem <strong>solved</strong>.</p>
  
  <p>Then I got Manifest not found. Added <code>META-INF</code> dir to output. Second problem <strong>solved</strong>.</p>
  
  <p>Next I got the <code>BeanCreationException</code> (<strong>unsolved</strong>):</p>
  
  <pre><code>Caused by: org.springframework.beans.factory.BeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath.
  </code></pre>
  
  <p>In IntelliJ it is working.</p>
  
  <p>I think the resources are not in the output. (<code>application.properties</code>, ...)</p>
  
  <p><a href="https://i.stack.imgur.com/AKYBK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AKYBK.png" alt="IntelliJ Config"></a></p>
  
  <p>In which way do I add the resources or where are they stored in the jar.</p>
  
  <p>I'm using <code>gradle</code> and on the spring boot homepage are only instructions for maven.</p>