Hi,
Tried that but there is no change in the result.
I also observed from the application log when compared with the working example is that in the working example it is able to identify the correct URL paths defined in the controller but in the my application log it is simply saying that there are no URL path identified so rejecting the bean
the logs are given below.
Not working log
Code:
[2008-09-09 11:01:47,566] (DefaultListableBeanFactory:383) - Creating instance of bean 'localeChangeInterceptor'
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultListableBeanFactory:457) - Eagerly caching bean 'localeChangeInterceptor' to allow for resolving potential circular references
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultListableBeanFactory:411) - Finished creating instance of bean 'localeChangeInterceptor'
[DEBUG:main] [2008-09-09 11:01:47,566] (BeanUtils:382) - No property editor [[Ljava.lang.Object;Editor] found for type [Ljava.lang.Object; according to 'Editor' suffix convention
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:70) - Looking for URL mappings in application context: org.springframework.web.context.support.XmlWebApplicationContext@1263b07: display name [WebApplicationContext for namespace 'xxy-servlet']; startup date [Tue Sep 09 11:01:47 MST 2008]; parent: org.springframework.web.context.support.XmlWebApplicationContext@18c6982
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'org.springframework.context.annotation.internalPersistenceAnnotationProcessor': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'org.springframework.context.annotation.internalCommonAnnotationProcessor': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'org.springframework.context.annotation.internalRequiredAnnotationProcessor': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'genericController': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'issueController': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter#0': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'viewResolver': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'messageSource': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'localeChangeInterceptor': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'localeResolver': no URL paths identified
[DEBUG:main] [2008-09-09 11:01:47,566] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'applicationEventMulticaster': no URL paths identified
Working log
Code:
[DEBUG:main] [2008-09-08 18:36:17,688] (DefaultListableBeanFactory:212) - Creating shared instance of singleton bean 'genericController'
[DEBUG:main] [2008-09-08 18:36:17,688] (DefaultListableBeanFactory:383) - Creating instance of bean 'genericController'
[DEBUG:main] [2008-09-08 18:36:17,688] (DefaultListableBeanFactory:457) - Eagerly caching bean 'genericController' to allow for resolving potential circular references
[DEBUG:main] [2008-09-08 18:36:17,688] (DefaultListableBeanFactory:411) - Finished creating instance of bean 'genericController'
[DEBUG:main] [2008-09-08 18:36:17,688] (DefaultAnnotationHandlerMapping:323) - Mapped URL path [/**/*.html] onto handler [org.springbyexample.web.servlet.mvc.simpleForm.GenericController@1f0f0c8]
[DEBUG:main] [2008-09-08 18:36:17,688] (DefaultListableBeanFactory:212) - Creating shared instance of singleton bean 'personController'
[DEBUG:main] [2008-09-08 18:36:17,688] (DefaultListableBeanFactory:383) - Creating instance of bean 'personController'
[DEBUG:main] [2008-09-08 18:36:17,688] (InjectionMetadata:69) - Found injected field on class [org.springbyexample.web.servlet.mvc.simpleForm.PersonController]: AutowiredFieldElement for protected org.springbyexample.orm.hibernate3.annotation.dao.PersonDao org.springbyexample.web.servlet.mvc.simpleForm.PersonController.personDao
[DEBUG:main] [2008-09-08 18:36:17,688] (DefaultListableBeanFactory:457) - Eagerly caching bean 'personController' to allow for resolving potential circular references
[DEBUG:main] [2008-09-08 18:36:17,704] (InjectionMetadata:103) - Processing injected field of bean 'personController': AutowiredFieldElement for protected org.springbyexample.orm.hibernate3.annotation.dao.PersonDao org.springbyexample.web.servlet.mvc.simpleForm.PersonController.personDao
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultListableBeanFactory:214) - Returning cached instance of singleton bean 'personDao'
[DEBUG:main] [2008-09-08 18:36:17,704] (AutowiredAnnotationBeanPostProcessor:365) - Autowiring by type from bean name 'personController' to bean named 'personDao'
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultListableBeanFactory:411) - Finished creating instance of bean 'personController'
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultAnnotationHandlerMapping:323) - Mapped URL path [/save/person.html] onto handler [org.springbyexample.web.servlet.mvc.simpleForm.PersonController@120d6b7]
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultListableBeanFactory:214) - Returning cached instance of singleton bean 'personController'
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultAnnotationHandlerMapping:323) - Mapped URL path [/delete/person.html] onto handler [org.springbyexample.web.servlet.mvc.simpleForm.PersonController@120d6b7]
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultListableBeanFactory:214) - Returning cached instance of singleton bean 'personController'
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultAnnotationHandlerMapping:323) - Mapped URL path [/search/person.html] onto handler [org.springbyexample.web.servlet.mvc.simpleForm.PersonController@120d6b7]
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultListableBeanFactory:214) - Returning cached instance of singleton bean 'personController'
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultAnnotationHandlerMapping:323) - Mapped URL path [/form/person.html] onto handler [org.springbyexample.web.servlet.mvc.simpleForm.PersonController@120d6b7]
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultListableBeanFactory:214) - Returning cached instance of singleton bean 'personController'
[DEBUG:main] [2008-09-08 18:36:17,704] (DefaultAnnotationHandlerMapping:323) - Mapped URL path [/info/person.html] onto handler [org.springbyexample.web.servlet.mvc.simpleForm.PersonController@120d6b7]
[DEBUG:main] [2008-09-08 18:36:17,719] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'tilesConfigurer': no URL paths identified
[DEBUG:main] [2008-09-08 18:36:17,719] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'dynamicTilesViewResolver': no URL paths identified
[DEBUG:main] [2008-09-08 18:36:17,719] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'messageSource': no URL paths identified
[DEBUG:main] [2008-09-08 18:36:17,719] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'localeChangeInterceptor': no URL paths identified
[DEBUG:main] [2008-09-08 18:36:17,719] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'localeResolver': no URL paths identified
[DEBUG:main] [2008-09-08 18:36:17,719] (DefaultAnnotationHandlerMapping:86) - Rejected bean name 'applicationEventMulticaster': no URL paths identified