I developed a spring boot application and deployed on external tomcat. What I am facing is when I call application through context path tomcat throws an exception.
Controller
@GetMapping(value="/", produces = "text/html;charset=UTF-8")
public String loadIndexPage() {
return "index";
}
pom.xml
<build>
<finalName>apluscontent</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
I…
Top comments (0)