I\'m developing a spring application which uses tomcat server managed connection pool.
I defined datasource in tag in context.xml of tomcat: (i am using spring 2.0.
I faced similar problem with tomcat and did the following in eclipse to solve it:
Project --> Clean) , the tomcat server (Server--> Right Click --> Clean) and Tomcat work directory (Server--> Right Click--> Clean Tomcat Work Directory).Even after maintaining the details in context.xml, sometimes it might not get reflected. In such cases follow step#3 and hope it helps.