当Keycloak尝试启动时,无法启动。日志中会抛出以下错误:
错误
[org.keycloak.connections.jpa.updater.liquibase.conn.DefaultLiquibaseConnectionProvider] (ServerService线程池 - 53)更改集 META-INF / jpa-changelog-1.5.0.xml :: 1.5.0 :: bburke@redhat.com失败。 错误:找不到列“USER_SETUP_ALLOWED”; SQL语句:ALTER 表PUBLIC.AUTHENTICATION_EXECUTION ALTER COLUMN USER_SETUP_ALLOWED SET DEFAULT NULL [42122-193] [失败的SQL:ALTER TABLE PUBLIC.AUTHENTICATION_EXECUTION ALTER COLUMN USER_SETUP_ALLOWED SET DEFAULT NULL]:liquibase.exception.DatabaseException:Column 找不到“USER_SETUP_ALLOWED”; SQL语句:ALTER TABLE PUBLIC.AUTHENTICATION_EXECUTION ALTER COLUMN USER_SETUP_ALLOWED SET DEFAULT NULL [42122-193] [失败的SQL:ALTER TABLE PUBLIC.AUTHENTICATION_EXECUTION ALTER COLUMN USER_SETUP_ALLOWED SET DEFAULT NULL] at liquibase.executor.jvm.JdbcExecutor $ ExecuteStatementCallback.doInStatement(JdbcExecutor.java:316) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:122) 在liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1247