[Solved] org.thymeleaf.exceptions.TemplateInputException: Error resolving template [currentUserCartItems],

Solution:

Reason: the data returned by the method called remotely is not added with @ResponseBody

Original:

After modification:

Read More: