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

标签 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

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

谢谢,

最佳答案

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

import com.bloomhealthco.jasypt.GormEncryptedStringType

关于grails - 没有这样的属性:在grails中安装jasypt时出现GormEncryptedStringType,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13802818/

相关文章:

grails - 在 Grails 中,如何获取包含请求参数的请求 URI?

CakePHP:生产环境中的插件

python - 假设解密 key 被很好地隐藏,如何加密 python 模块

grails - 如何使用Spring Security插件在Grails中自定义rolePrefix?

grails - 替换从gsp中messages.properties返回的文本

grails - 如何在Grails-4项目上导入ApplicationHolder?

eclipse - 如何在 Eclipse 中使用 Bootstrap - 内容辅助?

c - 这个旨在使用 Windows CryptoAPI 使用 AES 256 位 key 进行解密的简单代码有什么问题?

java - 如何使用Java将secretKey和IV存储在单个文件中以进行AES加密和解密?

grails - 新的 Grails 安装速度很慢