没有这样的属性:GormEncryptedStringType在grails中安装jasypt时

时间:2012-12-10 14:23:08

标签: grails plugins encryption jasypt

我正在尝试在Jasypt plugin上使用grails project。我按照wiki中描述的设置进行了操作,但我得到以下异常:

ERROR context.GrailsContextLoader  - Error executing bootstraps: Error evaluating ORM mappings block for domain [domain.Branch]:  No such property: GormEncryptedStringType for class: org.codehaus.groovy.grails.orm.hibernate.cfg.HibernateMappingBuilder
Message: Error evaluating ORM mappings block for domain [domain.Branch]:  No such property: GormEncryptedStringType for class: org.codehaus.groovy.grails.orm.hibernate.cfg.HibernateMappingBuilder

有没有人知道如何解决这个问题?

谢谢,

1 个答案:

答案 0 :(得分:2)

它可能像缺少的导入行一样简单:

import com.bloomhealthco.jasypt.GormEncryptedStringType