title: couldn't I open spring boot web?
body: <p>Before running as Java app, my project has MySql, Spring-boot, REST service.
  I would like to deploy web app but system reported errmessage: Whitelabel Error Page...</p>
  
  <p><a href="https://i.stack.imgur.com/ir5eG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ir5eG.png" alt="enter image description here"></a></p>
  
  <p>Controller:</p>
  
  <pre><code>@RestController
  @RequestMapping("/autoeshop")
  public class EmployeeController {
  
      @Autowired
      EmployeeDAO employeeDAO;
  
      /* to save an employee*/
      @PostMapping("/employees")
      public Employee saveEmployee(@Valid @RequestBody Employee emp) {
          return employeeDAO.save(emp);
      }
  
      /*get an employee by id*/
      @GetMapping("/employees/{id}")
      public ResponseEntity&lt;Employee&gt; getEmployee(@PathVariable(value="id") Long empId){
          Employee emp=employeeDAO.get(empId);
  
          if(emp==null)
              return ResponseEntity.notFound().build();
          return ResponseEntity.ok().body(emp);
      }   
  
      /*get all employees*/
      @GetMapping("/employees")
      public List&lt;Employee&gt; getAllEmployees(){
          return employeeDAO.getAll();
      }
  
      /*update an employee*/
      @PutMapping("/employees")
      public void updateEmployee(@PathVariable(value="id") Long empId, @Valid @RequestBody Employee empDetails) {
  
          Employee emp = employeeDAO.get(empId);
          //if(emp==null)
          //  return ResponseEntity.notFound().build();
  
          emp.setName(empDetails.getName());
          emp.setDesignation(empDetails.getDesignation());
          emp.setExpertise(empDetails.getExpertise());
  
          //return ResponseEntity.ok().body((Employee)employeeDAO.update(emp));
          employeeDAO.update(emp);
      }
  
      /*Delete an employee*/
      @DeleteMapping("/employees/{id}")
      public ResponseEntity&lt;Employee&gt; deleteEmployee(@PathVariable(value="id") Long empId){
          //Employee emp=employeeDAO.get(empId);
  
          if(employeeDAO.get(empId)==null)
              return ResponseEntity.notFound().build();
          employeeDAO.delete(empId);
          return ResponseEntity.ok().build();
      }
  }
  </code></pre>
  
  <p>application.properties:</p>
  
  <blockquote>
    <h2>Spring DATASOURCE (DataSourceAutoConfiguration &amp; DataSourceProperties)</h2>
  
  <pre><code>spring.datasource.url = jdbc:mysql://localhost:3306/autoeshop
  spring.datasource.username = root
  spring.datasource.password =
  
  
  
  ## Hibernate Properties
  # The SQL dialect makes Hibernate generate better SQL for the chosen database
  spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
  
  # Hibernate ddl auto (create, create-drop, validate, update)
  spring.jpa.hibernate.ddl-auto = update
  </code></pre>
  </blockquote>
  
  <p>Please tell me for helping how can I deploy web app? Thanks</p>