Spring 5 Migration brings this pain. You will get this error during form submission.
Unable to find setter method for attribute: [commandName]
Command object does not work anymore.
Refer to https://stackoverflow.com/questions/46989072/org-apache-jasper-jasperexception-web-inf-views-home-jsp-line-25-column/48364974
and
https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-5.x
commandName is dead in Spring 5. Replace it with modelAttribute
[code language=”html”]
<form:form modelAttribute=”customer” action=”customerView” method=”post”>
[/code]
It worked! I need to make this change in my workspace now!
Thank you for this solution