I'm using Spring3.1.1 and in config file I'm using below namespace declarations.
But if I change the xsd value to 'spring-beans-2.5.xsd ' (in xsi:schemaLocation) it works fine.
But not with spring-beans-3.1.xsd.
Can someone please help? I'm using eclipse.
Thanks
Jayavardhan geepi
Ranch Hand
Joined: Jul 21, 2010
Posts: 66
posted
0
Sorry. Found out the issue.
I had spring jars of version 2.5.6 on classpath and not 3.1.1.
After addding 3.1.1 jar to classpath, its resolved.
Thanks
That is why I never put the version number with the xsd in schemaLocation, so that there won't ever be errors. It will just take the highest version of the xsd that is in the classpath.