posted 9 years ago
Hi,
I've started practicing spring in action 3rd edition by craig walls. I stucked up in spring mvc as we are using it in our project. I tried to run 1st program as described in the book, but I'm facing an exception No default constructor found and Error in creating bean 'homeController'. I verified all the rest of the classes in the project like service, domain, configuration files, database files; they are working but when I want to see the outcome of the application it is throwing exception.
I'm not able to understand where exactly the problem is located and how to resolve. Please, I need a helping hand in resolving this.
One more doubt I'm having is; we have both spring and javaee6 supporting DI. As a developer which one I should support(standards wise). Please clarify me if mistaken.
Controller - HomeController class
SpitterServiceImpl
spitter-service.xml
spitter-servlet.xml
web.xml
home.jsp
Thanks and Regards,
sathish.g.