I am trying to add a new custom tag in the spring configuration file so that it will scan certain set of elements . I am using eclipse for development. I did some entries in spring.schemas, spring.handlers file. These entries are as below.
In addition to these 2 entries I have created the schama file which contains the following code.
pqr-10.0.xsd is decleared as follows.
And the actual xml configuration file in which this new tag will get used (applicationConfig.xml) is configured as follows.
I have kept applicationConfig.xml directly under WEB-INF folder. In addition to this I kept spring-handlers,pqr-10.0.xsd and and spring.schemas in the classpth along with handler class . though whenever my server tried to start, I get the exception on it saying that
Just as a wild try , I put all the files viz in spring.handlers,pqr-10.0.xsd and spring.schema and in WEB_INF as well. But no success . I am still getting the same error.
Can anyone out there please help me to understand what the problem is ?
Thanks in advance
subject: How to add a new tag in XML configuration file.