0

Hello I am trying to populate some dropdowns from a database in Thymeleaf. I get this error:

2022-11-29 12:11:25.525 ERROR 17836 --- [io-8080-exec-10] org.thymeleaf.TemplateEngine             
: [THYMELEAF][http-nio-8080-exec-10] Exception processing template "index": An error 
happened during template parsing (template: "class path resource 
[templates/index.html]")

org.thymeleaf.exceptions.TemplateInputException: An error happened during template 
parsing (template: "class path resource [templates/index.html]")

This is the line with the error:

Caused by: org.attoparser.ParseException: Error during execution of processor 
'org.thymeleaf.spring5.processor.SpringSelectFieldTagProcessor' (template: "index" - 
line 96, col 9)

This is the code line that gives the error:

<select  th:field="${anulEmiterii}">

Does anyone know what might be the problem ? Can anyone give me an working example ? Thanks

SerbanRamon
  • 97
  • 1
  • 1
  • 7

0 Answers0