我是Spring Framework的新手,目前正在尝试开发一个简单的应用程序,餐厅老板可以通过登录并将菜肴数据输入到Html表单(使用Thymeleaf)来将菜肴添加到主数据库中。我很难让它适应我的Html表单。根据其他帖子,我认为我的问题如下: "If you use template engine like Thymeleaf it will not work with @RestController because例如,对于“添加新菜”表单</
我遇到了在同一个HTML中同时打印表单和数组的问题。: Error during execution of processor 'org.thymeleaf.spring5.processor.SpringInputGeneralFieldTagProcessor.util.FieldUtils.getBindStatusFromParsedExpression(FieldUtils.java:306)
at org.thymeleaf.spring5.util.Fie