Java, Spring, Apache Tiles error : Could not resolve view with name 'index' in servlet with name 'dispatcher'

前端 未结 6 1505
不知归路
不知归路 2021-01-13 06:57

I\'m new to Tiles and Spring MVC (I looked through several similar issues but found no solution for \'my problem\')

controller:

@Controller
public cl         


        
6条回答
  •  不知归路
    2021-01-13 07:13

    I've had the same issue . Try using correct version of DTD in tiles configuration file.

    https://stackoverflow.com/a/28854479

    Also in your tiles definition file general.xml use tile:insertAttribute instead of tile:addAttribute

    
         

提交回复
热议问题