当我运行一个通过grails localhost上的spring框架过滤的url时, 它显示为,
Error:
Caused by: org.springframework.jdbc.BadSqlGrammarException:
Hibernate operation: could not extract ResultSet;
bad SQL grammar [n/a];
nested exception is
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Unknown column 'this_.enabled' in 'field list'
如果我从我的域类中删除启用的变量,它将显示为
Error:
org.springframework.security.authentication.InternalAuthenticationServiceException:
No such property: enabled for class: com.voonik.User.
有没有解决办法?