Skip to content

password_reset return 500 Error #1396

Closed
@Humilton

Description

Version : webgoat-2023.3.jar
Lesson : A(7) - Password reset - 6 Creating the password reset link

When click reset link from Email box, follow message will returned:
Message :

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Tue Feb 07 21:48:38 CST 2023
There was an unexpected error (type=Internal Server Error, status=500).
org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [webgoat/templates/password_reset.html]")
	at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:235)
       ........
Caused by: java.io.FileNotFoundException: class path resource [webgoat/templates/password_reset.html] cannot be opened because it does not exist
	at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:199)
	at org.thymeleaf.spring5.templateresource.SpringResourceTemplateResource.reader(SpringResourceTemplateResource.java:103)
	at org.thymeleaf.templateparser.markup.AbstractMarkupTemplateParser.parse(AbstractMarkupTemplateParser.java:223)
	... 107 more

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions