当前位置: 代码迷 >> 综合 >> thyemleaf org.xml.sax.SAXParseException: 对实体 * 的引用必须以 ';' 分隔符结尾。
  详细解决方案

thyemleaf org.xml.sax.SAXParseException: 对实体 * 的引用必须以 ';' 分隔符结尾。

热度:102   发布时间:2023-11-20 02:43:36.0

 

1.带变量的

th:href="@{${projectPass}+'mobileProject/managerNoGroup?type=1&userId='+${userId}}" 

要改为

 th:href="@{${projectPass}+'mobileProject/managerNoGroup?type=1&userId='+${userId}}" 


2.没带变量的

th:href="@{'https://detail.1688.com/offer/528004510567.html?spm=a2615.2177701.0.0.Dt0CDG&uid=卫安防火'}"
改为:
th:href="@{'https://detail.1688.com/offer/528004510567.html?spm=a2615.2177701.0.0.Dt0CDG&uid=卫安防火'}"
 
 
也就是把 && 替换就好了

  相关解决方案