I have experienced some strange behaviour running a Tomcat server within Eclipse (this has happened to me twice now).
I have a maven web app in eclipse running in the tomcat server, the server configuration is normal and I have not checked the server option: "Serve Modules Without Publishing" - although i prefer to have this checked, I am on Windows 7 and usually on a new project in eclipse if i check this option then the server doesnt start.
Now the project I am working on has been working fine for some time, running perfectly etc, and this morning I changed some (hibernate)domain classes and went to restart the server and got this error: Spring 3.0 - Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]
Now as the server had been running, and all I had changed were some minor hibernate classes, I knew I hadnt broken anything (tried various things like refreshing/mvn clean/package/etc).
Having experienced some strange behaviour before on another project, I tried changing the "Serve Moduels without Publishing" to be checked and restarted, and worked fine!
Can anyone explain what it is that is suddenly flipping that switch and making me need to have to have it ticked to load?
UPDATE: As requested, below is the declaration at the top of the app context config:
<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.0.xsd">