Have a java spring app running on tomcat container. It has all the components to launch itself as a rest service, META-INF/context.xml, web.xml which has the ContextLoaderListener and the contextConfigLocation is defined as well with test-servlet.xml. The test-servlet.xml has the controller bean definitions in it. I also have the applicationContext.xml defined with all the delegate and service beans. I have a BeanFactory class which implements ApplicationContextAware interface and has the class path defined there for the applicationContext. It is not even hitting the BeanFactory class though, it fails even before that. When I call the restservices from a rest client, it is unable to recognise the controller bean. I used a debugger to see where exactly it fails and seems like the controller is not fully qualified and hence it fails to pick it up.
Any suggestions of how to go about fixing it.