title: Getting error org.jasypt.exceptions.EncryptionInitializationException: Password not set for Password Based Encryptor
body: <p>I am using jasypt-1.9.0 for encryption.</p>
  
  <p>Jdbc.properties</p>
  
  <pre><code>jdbc.driverClassName=oracle.jdbc.driver.OracleDriver
  jdbc.url=jdbc:oracle:thin:@localhost:1521:ORCL
  jdbc.username=testuser
  jdbc.password=ENC(lKmVnTVL3zSJXrZpwFmhd6crSHLzYihH)
  hibernate.dialect=org.hibernate.dialect.OracleDialect
  jpa.databasePlatform=toplink.hibernate.EssentialsHSQLPlatformWithNative
  jpa.database=ORCL
  </code></pre>
  
  <pre>
  C:\jasypt-1.9.0\bin>encrypt input=testuser password=testuser
  
  ----ENVIRONMENT-----------------
  Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.5.0_17-b04
  ----ARGUMENTS-------------------
  input: testuser
  password: testuser
  ----OUTPUT----------------------
  
  lKmVnTVL3zSJXrZpwFmhd6crSHLzYihH
  </pre>
  
  <p>I got the reference from one of your site. I am using multiple context file. I have
  configured</p>
  
  <pre><code>&lt;bean
  class="org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfi
  gurer"&gt;
  &lt;constructor-arg&gt;
  &lt;bean class="org.jasypt.encryption.pbe.StandardPBEStringEncryptor"&gt;
  &lt;property name="config"&gt;
  &lt;bean
  class="org.jasypt.encryption.pbe.config.EnvironmentStringPBEConfig"&gt;
  &lt;property name="algorithm" value="PBEWithMD5AndDES" /&gt;
  &lt;property name="passwordEnvName" value="APP_ENCRYPTION_PASSWORD" /&gt;
  &lt;/bean&gt;
  &lt;/property&gt;
  &lt;/bean&gt;
  &lt;/constructor-arg&gt;
  &lt;property name="locations"&gt;
  &lt;list&gt;
  &lt;value&gt;classpath:/META-INF/props/db/jdbc.properties&lt;/
  value&gt;
  &lt;/list&gt;
  &lt;/property&gt;
  &lt;/bean&gt;
  
  &lt;bean id="dataSource"
  class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&gt;
  &lt;property name="driverClassName"
  value="${jdbc.driverClassName}" &gt;&lt;/property&gt;
  
  &lt;property name="url"
  value="${jdbc.url}" &gt;&lt;/property&gt;
  &lt;property name="username"
  value="${jdbc.username}" &gt;&lt;/property&gt;
  &lt;property name="password"
  value="${jdbc.password}"&gt;&lt;/property&gt;
  &lt;property name="initialSize" value="10"&gt; &lt;/property&gt;
  &lt;property name="maxActive"
  value="30"&gt; &lt;/property&gt;
  &lt;property name="maxIdle"
  value="10"&gt; &lt;/property&gt;
  &lt;property name="maxWait"
  value="5000"&gt; &lt;/
  property&gt;
  &lt;property name="removeAbandoned"
  value="true"&gt; &lt;/
  property&gt;
  &lt;property name="logAbandoned"
  value="true"&gt; &lt;/
  property&gt;
  
  &lt;/bean&gt;
  </code></pre>
  
  <p>When I login my application I am getting error::</p>
  
  <blockquote>
    <p>org.jasypt.exceptions.EncryptionInitializationException: Password not
    set for Password Based Encryptor</p>
  </blockquote>