Malformed markup: Attribute “prop“ appears more than once in element

简介: Malformed markup: Attribute “prop“ appears more than once in element

报错信息:

org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/html/aa.html]" - line 12, col 81)] with root cause

org.attoparser.ParseException: (Line = 12, Column = 81) Malformed markup: Attribute "prop" appears more than once in element


报错原因和解决办法:

这里我是把之前SSM开发的微服务项目改成SpringBoot开发的单体项目,直接把html复制过来,有意思的是下面这样的代码在SSM中不报错,但是在SpringBoot中报错,报错原因就是有两个一模一样的prop,删掉一个即可!

目录
相关文章
|
5月前
|
CDN
Iconfont——Error: <path> attribute d: Expected number, "MNaNNaNaNaNNaNNaN…".
Iconfont——Error: <path> attribute d: Expected number, "MNaNNaNaNaNNaNNaN…".
49 0
jstl错误:According to TLD or attribute directive in tag file, attribute value does not accept any expr
jstl错误:According to TLD or attribute directive in tag file, attribute value does not accept any expr
解决办法:Type safety: The expression of type List needs unchecked conversion to conform
解决办法:Type safety: The expression of type List needs unchecked conversion to conform
352 0
[Accessibility] Missing contentDescription attribute on image
[Accessibility] Missing contentDescription attribute on image
189 0
[Accessibility] Missing contentDescription attribute on image
|
XML Java 数据库连接
Open quote is expected for attribute "{1}" associated with an element type "id".
Open quote is expected for attribute "{1}" associated with an element type "id".
211 0
Open quote is expected for attribute "{1}" associated with an element type "id".
|
TensorFlow 算法框架/工具
has no attribute ‘swish‘
has no attribute ‘swish‘
165 0
The href attribute requires a valid value to be accessible
The href attribute requires a valid value to be accessible
242 0
|
C语言 编译器 C++