I'm creating a Java batch job using Spring Batch and I want to encrypt some of the properties, like database authentication passwords. Jasypt seems to be the most recommended solution and there is good documentation at http://www.jasypt.org/.
However, when I use it in my batch program, I get an error:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.jasypt.org/schema/encryption]
Offending resource: class path resource [thisjob-context.xml]
Has anyone else seen, and resolved, this message? Alternatively, does anyone have any other recommended approaches for encrypting/decrypting properties within Spring Batch?