title: Spring boot applicaton will not stay up
body: <p>I created a simple REST Spring boot application.  I see it start, but it immediately shutsdown.  There is no error in log.</p>
  
  <p>Below is the code and the log.</p>
  
  <p>Code:</p>
  
  <pre><code>@Controller
  @ComponentScan
  @EnableAutoConfiguration 
  @RequestMapping("userInfo")
  public class UserUpdateService
  {
      private java.util.logging.Logger logger = Logger.getLogger("UserUpdateService");
  
      @RequestMapping(value="/{userId}", method=RequestMethod.GET, produces = "application/xml; charset=utf-8")
      @ResponseBody
      String getUserInfo(@PathVariable String userId)
      {
          String func = "getUserInfo";
          logger.entering("UserUpdateService", func);
  
          String retval = "";
          return retval;
      }
  
      @RequestMapping(value="/{userId}", method=RequestMethod.DELETE, produces = "application/xml; charset=utf-8")
      @ResponseBody
      String removeUser(@PathVariable String userId)
      {
          String retval = "";
          String func = "removeUser";
  
          logger.entering("UserUpdateService", func);
          return retval;
      }
  
      @RequestMapping(value="/", method=RequestMethod.PUT, produces = "application/xml; charset=utf-8")
      @ResponseBody
      String addUser(@WebParam (name = "userId")String userId)
      {
          String retval = "";
          String func = "addUser";
  
          logger.entering("UserUpdateService", func);
          return retval;
      }
  
      public static void main(String[] args)
      {
          ApplicationContext ctx = SpringApplication.run(UserUpdateService.class, args);
  
      }
  
  } 
  </code></pre>
  
  <p>Log:</p>
  
  <pre>
  <code>
      Java HotSpot(TM) Server VM warning: .hotspot_compiler file is present but has been ignored.  Run with -XX:CompileCommandFile=.hotspot_compiler to load the file.
  
    .   ____          _            __ _ _
   /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
  ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
   \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
    '  |____| .__|_| |_|_| |_\__, | / / / /
   =========|_|==============|___/=/_/_/_/
   :: Spring Boot ::        (v1.2.1.RELEASE)
  
  - Starting UserUpdateService on localhost with PID 950 (/opt/home/vatsan/MicroSvcs started by vzwadmin in /opt/home/vatsan/MicroSvcs/bin)
  - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@128edf2: startup date [Thu Jan 29 18:59:37 EST 2015]; root of context hierarchy
  - Started UserUpdateService in 0.812 seconds (JVM running for 1.806)
  - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@128edf2: startup date [Thu Jan 29 18:59:37 EST 2015]; root of context hierarchy
  </code>
  </pre>