spring-guides / gs-uploading-files

Uploading Files :: Learn how to build a Spring application that accepts multi-part file uploads.

Home Page:http://spring.io/guides/gs/uploading-files/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"shouldListAllFiles

browncrane opened this issue · comments

The FileUploadTests fails on Caused by: org.thymeleaf.exceptions.TemplateInputException: Error resolving template. However, other test can pass successfully. I'm trying to merge your code into my project, but didn't change your code. Searched the error message, find most are talking about relative path(the leading slash). But not the same problem with your code. Hope someone could tell me, what to debug next.

Problem found:
A former member of the project has set application.properties
spring.thymeleaf.prefix = classpath:/static/
It's the similar problem like most search result in google