Nancy Joe

Greenhorn
+ Follow
since Feb 09, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nancy Joe

Thank for your quick response. It seems to be working now. I did not make any c hanges to the code, I probably was not testing it correctly.
5 days ago
Hi all,

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.

Thanks!

6 days ago