title: Could not run simple spring boot application() generated by STS tool
body: <p>I am new to Java and SPRING, Have latest STS tool and JAVA 1.6, Able to create and run Spring MVC project.</p>
  
  <p>Started looking in to spring boot, created a spring starter project Selected 'web' and picked everything default</p>
  
  <p>Had multiple error in Application.Java file(See below) Fixed by adding JRE in build path.
  Try to run it getting Run time exception (See below).</p>
  
  <p>Question :
  Why IDE was not able add JRE in build path for spring boot? 
  Why I still can't run this application.
  Am I missing some configuration because of which IDE is not generating correct project.</p>
  
  <p>Help is appreciated.</p>
  
  <p>Thanks</p>
  
  <p><strong>***************</strong> Error in Application.java
  Multiple markers at this line
  - The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
  - The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
  - The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files</p>
  
  <p>Multiple markers at this line
  - Occurrence of 'Application'
  - Implicit super constructor Object() is undefined for default constructor. Must define an explicit </p>
  
  <hr>
  
  <p><strong>********</strong> Run time exception***********************</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: demo/Application
  Caused by: java.lang.ClassNotFoundException: demo.Application
  
  Caused by: java.lang.ClassNotFoundException: demo.Application
  at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
  </code></pre>