-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thymeleaf template didn't work #67
Comments
Look at the stacktrace. You clearly have an okder version of Guava library somewhere. Use mvn dependency tree option or similar tool to find the issue. |
I don't have explicit Guava library. |
Use the tool that I mentioned to detect the problematic dependency that uses Guava. |
And also tried the withoutTemplate one but it too fails.
It is trying to send the email and again after that, it takes the URL as the template name and fails, in my case it select the template as /api/user/send_mail. |
I am trying the mvn dependency:tree -Dverbose -Dincludes=guava, it is taking long time. |
Running this tool gave BUILD SUCCESS, what next ? |
You must check the resulting dependency tree. And I doubt that -Dincludes=guava works. You probably have to specify the group id. Anyway this is not an issue due to my library. This is more about knowledge of basic principles of dependency management frameworks. |
@robertotru help me please!! spring-boot version : 1.3.5 ,my project is web project!! it's my code my resources my spring-boot config yml spring org.thymeleaf.exceptions.TemplateInputException: Error resolving template "t", template might not exist or might not be accessible by any of the configured Template Resolvers |
@shakyasudeep I have the same problem with you! |
@winfan please do not mess up issues by adding problems over problems. Instead, create a new issue. The original issue was related to problems with Guava. This is the place where issues must be placed, not where all the problems one encounters while trying to use the library must be reported in a row. @winfan @shakyasudeep please have a look at and carefully check where you put the template and how it is called in the example Also, read how to open an issue here. |
I tried the Thymeleaf full template and copy-pasted your example , just replacing freemarker template with Thymeleaf, the template version didn't work. The error is :
The text was updated successfully, but these errors were encountered: