Since the last version of Eclipse all the thymeleaf inline components in the the javascipt are shown as an error.
The code is correct and works fine.
for example:
<script th:inline="javascript">
$(document).ready(function() {
/*<![CDATA[*/ var context = [[@{/}]]; /*]]>*/
The hint shows
Multiple annotations found at this line:
- Declaration or statement expected.
- Property assignment expected.
- Expression or comma expected.
- Unterminated regular expression literal.
- Expression expected.
- Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this
warning.
and in the problem tab:
Description Resource Path Location Type
',' expected. contract.html /set/src/main/webapp/WEB-INF/templates/fragments line 1450 Language Servers
Since the last version of Eclipse all the thymeleaf inline components in the the javascipt are shown as an error. The code is correct and works fine.
for example:
The hint shows
and in the problem tab: