Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Weather App in Need of Tests

Andrey Serebryanskiy
Andrey Serebryanskiy
5,756 Points

Login returns 403 Error

Hey!

I'm trying to login in the wether app with 'user' and 'password', but I'm always redirected to 403 error page. In the console there is only information (and stacktrace) for an error in processing thymeleaf template 'error':

2018-01-25 12:35:52.190 ERROR 7646 --- [nio-8080-exec-3] org.thymeleaf.TemplateEngine             : [THYMELEAF][http-nio-8080-exec-3] Exception processing template "error": Exception evaluating SpringEL expression: "ex.message" (error:9)

I have no idea why is this happening and where to start searching for an error, because no errors concerning login fail are found. I didn't make any changes to the code that I copied from the Chris's repository on github.

If you have any ideas how to solve it, please answer me. Thank you.