JDK: 7u67
Running on MacOSX with Mavericks
Liquibase 3.3.2
SnakeYaml 1.13 (also tried 1.12 and 1.14)
MySQL Connector: mysql-connector-java-5.1.34.jar
./liquibase
--changeLogFile test.yaml generateChangeLog
Now when I set to a new database and run update:
./liquibase --changeLogFile test.yaml update
I get this error:
Unexpected error running Liquibase: java.util.LinkedHashMap cannot
be cast to java.util.List
test.yaml content below here:
databaseChangeLog:
changeSet:
id: 1421340276226-1
author: myname (generated)
changes:
- createTable:
columns:
- column:
autoIncrement: true
constraints:
constraints:
primaryKey: true
name: id
type: BIGINT
- column:
constraints:
constraints:
nullable: false
name: fname
type: VARCHAR(255)
- column:
constraints:
constraints:
nullable: false
name: lname
type: VARCHAR(255)
tableName: person