Quando eu coloco http://localhost:8080/ no meu browser ele mapea papa o /, porém imprime na tela index, a palavra que eu escrevi, não carrega o index.html
@RequestMapping("/")
public String index() {
return "index";
}
O meu index esta no caminho main/resources/templades/index.html E meu controller esta no caminho main/java/com.github.thaynarasilvapinto/controller/SimuladorController.java
minhas dependências
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.0.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<version>2.0.4.RELEASE</version>
</dependency>
</dependencies>