spring-guides / gs-uploading-files

Uploading Files :: Learn how to build a Spring application that accepts multi-part file uploads.
http://spring.io/guides/gs/uploading-files/
Apache License 2.0
469 stars 503 forks source link

"shouldListAllFiles #46

Closed browncrane closed 6 years ago

browncrane commented 6 years ago

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.

browncrane commented 6 years ago

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