Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor'

后端 未结 3 1652
青春惊慌失措
青春惊慌失措 2021-01-24 00:15

I am trying to build simple search tab with thymeleaf and Spring boot. Here is my codes and html files.

scCountry.html

  
3条回答
  •  独厮守ぢ
    2021-01-24 00:57

    Do the below modifications in your controller and try

    @GetMapping(value="/search")
    
    public ModelAndView SearchForm(Model model, SearchInput sInput) {
    
        return new ModelAndView("scCountry");
    
    }
    

    Hope you will get solved your error.

提交回复
热议问题