spring boot 踩坑日记 :This may be the result of an unspecified view, due to default view name generation

 

异常信息:

javax.servlet.ServletException: Circular view path [index]: would dispatch back to the current handler URL [/index] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)

 

解决方案:

在pom.xml中添加:

  

        
            org.springframework.boot
            spring-boot-starter-thymeleaf
        


 

你可能感兴趣的:(spring-boot踩坑日记,springboot爬坑日记)