Dear Sirs et Madames,
Am brand new to Spring and am working through an example in the book Beginning Spring Framework 2 (a Wrox title). I am following their instructions to the letter, they have provided source code which I have compiled using
maven, ran it , and it works fine, no errors. However once I follow additional instructions to add a feedback form to the application which involves creating a
jsp page, a FeedbackFormController.java and a command class Feedback.java plus registering the controller with the DispatcherServlet, once I have built and deployed the WAR file when I try loading the webpage (
http://localhost:8080/pixweb-0.0.1/feedbackform.htm) i get the following error message
java.lang.IllegalStateException: Cannot map handler [com.wrox.beginspring.pix.web.PictureUploadController] to URL path [/.proxy165*]: There is already handler [com.wrox.beginspring.pix.web.CreateAlbumController@1151934] mapped.
I have am at pains to understand why this could be, especially seeing as I have neither touched PictureUploadController.java, CreateAlbumController.java nor either of their corresponding registration mappings in DispatcherServlet. When does this error generally occur?
Would greatly appreciate any help in this matter.