Java Thymeleaf内容助手不使用Spring Boot
thymeleaf内容助手不工作,当我在HTML文件中键入th:prefix时,只显示th:block建议Java Thymeleaf内容助手不使用Spring Boot,java,spring,spring-boot,thymeleaf,Java,Spring,Spring Boot,Thymeleaf,thymeleaf内容助手不工作,当我在HTML文件中键入th:prefix时,只显示th:block建议 <th:block 我添加了html名称空间: <html xmlns:th="http://www.thymeleaf.org"> 将th名称空间更改为另一个名称空间不起作用 好的,唯一的工作时间是th只是取代了HTML th位置 <table> <tbody> <tr th: 我面临着同
<th:block
我添加了html名称空间:
<html xmlns:th="http://www.thymeleaf.org">
将th名称空间更改为另一个名称空间不起作用
好的,唯一的工作时间是th只是取代了HTML th位置
<table>
<tbody>
<tr th:
我面临着同样的问题,我采取了以下步骤
打开工作空间的.metadata下的.log文件
在th之后打开Thymeleaf模板(html):按Ctrl+sapce
检查.log文件中的异常
在我的例子中,这是groovy运行时异常,所以我取消安装并安装了groovy插件
重新启动eclipse和thymeleaf内容助手
[groovy.lang.GroovyRuntimeException:找不到以下的匹配构造函数:org.thymeleaf.extras.eclipse.contentassist.autocomplete.propositions.AttributeProcessorCompletionProposition(org.thymeleaf.extras.eclipse.dial.xml.ElementProcessor,Integer,Integer,Boolean)]
遇到了同样的问题,但升级Spring Tools 4后问题消失了。您找到了解决此问题的方法吗?
<table>
<tbody>
<tr th: