title: Spring boot cannot compile views in 1.5.8 release
body: <p>Environment:</p>
  
  <ol>
  <li>STS-3.9.0.RELEASE </li>
  <li>Java Version: 1.7 </li>
  <li>Spring Starter Project, web</li>
  </ol>
  
  <p>I have a spring boot project that works fine with 1.4.2 release but not with 1.5.8. When I change to 1.5.8, it stops compiling JSP and prints the page as it is.</p>
  
  <p>Here are my files:</p>
  
  <h2>pom.xml</h2>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;com.educo&lt;/groupId&gt;
  &lt;artifactId&gt;sprboot&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  
  &lt;name&gt;sprboot&lt;/name&gt;
  &lt;description&gt;Event tracker project&lt;/description&gt;
  
  &lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.4.2.RELEASE&lt;/version&gt;
  &lt;/parent&gt;
  
  &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;java.version&gt;1.7&lt;/java.version&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;jstl&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.tomcat.embed&lt;/groupId&gt;
          &lt;artifactId&gt;tomcat-embed-jasper&lt;/artifactId&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.eclipse.jdt.core.compiler&lt;/groupId&gt;
          &lt;artifactId&gt;ecj&lt;/artifactId&gt;
          &lt;version&gt;4.6.1&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;    
  &lt;/project&gt;
  </code></pre>
  
  <h2>src/main/java, com.educo.Application.java</h2>
  
  <pre><code>package com.educo;
  
  import org.springframework.boot.SpringApplication;
  import org.springframework.boot.autoconfigure.SpringBootApplication;
  import org.springframework.boot.builder.SpringApplicationBuilder;
  import org.springframework.boot.web.support.SpringBootServletInitializer;
  
  @SpringBootApplication
  public class Application extends SpringBootServletInitializer{
  
  @Override
  protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
      return application.sources(Application.class);
  }
  
  public static void main(String[] args) {
      SpringApplication.run(Application.class, args);
  }
  }
  </code></pre>
  
  <h2>src/main/resources, application.properties</h2>
  
  <pre><code>spring.mvc.view.prefix: /WEB-INF/jsp/
  spring.mvc.view.suffix: .jsp
  
  welcome.message: Hello
  </code></pre>
  
  <h2>src/main/java, com.educo.controller</h2>
  
  <pre><code>package com.educo.controller;
  
  import org.springframework.stereotype.Controller;
  import org.springframework.ui.ModelMap;
  import org.springframework.web.bind.annotation.PathVariable;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestParam;
  import org.springframework.web.bind.annotation.ResponseBody;
  
  @Controller
  public class TestController {
  
  @RequestMapping("/")
  public String index() {
      return "index";
  }
  
  @RequestMapping("/body")
  @ResponseBody
  public String body() {
      System.out.println("there");
      return "Hello world!";
  }
  
  // /param?name=ashutosh
  @RequestMapping("/param")
  @ResponseBody
  public String params(@RequestParam String name) {
      return "Hello " + name;
  }
  
  // /path/ashutosh
  @RequestMapping("/path/{name}")
  @ResponseBody
  public String paths(@PathVariable String name) {
      return "Hello " + name;
  }
  
  // /path-view/ashutosh
  @RequestMapping("/path-view/{name}")
  public String pathView(@PathVariable String name, ModelMap map) {
      map.addAttribute("name", name);
      return "path-view";
  }
  }
  </code></pre>
  
  <h2>src/main/webapp, /WEB-INF/jsp/index.jsp</h2>
  
  <pre><code>&lt;b&gt;Welcome&lt;/b&gt; to my website
  </code></pre>
  
  <h2>src/main/webapp, /WEB-INF/jsp/path-view.jsp</h2>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"
  %&gt;
  
  Hello ${name} by path view
  </code></pre>
  
  <p>On changing to:</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.5.8.RELEASE&lt;/version&gt;
  &lt;/parent&gt;
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>Whitelabel Error Page
  
  This application has no explicit mapping for /error, so you are seeing this as a fallback.
  
  Sun Oct 29 23:58:06 EDT 2017
  There was an unexpected error (type=Not Found, status=404).
  No message available
  </code></pre>
  
  <p>No error gets printed on tomcat console.
  I tried to read the changelog for 1.5.8 but could not find anything on this. What I'm missing here?</p>