Hello:
I am configuring the LiquibaseServletListener for my current project and have run into the following Exception regarding a missing DOCTYPE declaration in my changelog files. Is there a DOCTYPE I should be using in my changelog files? If so I have been unable to find this information on the LB wiki. Please advise… Below is the stacktrace and my configs.
Caused by: liquibase.exception.ChangeLogParseException: Error parsing line 2 column -1 of database/changelogs/master.xml: Valid documents must have a <!DOCTYPE declaration.
at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:78)
at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:28)
at liquibase.Liquibase.update(Liquibase.java:105)
at liquibase.servlet.LiquibaseServletListener.contextInitialized(LiquibaseServletListener.java:137)
<databaseChangeLog xmlns=“http://www.liquibase.org/xml/ns/dbchangelog/1.9”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=“http://www.liquibase.org/xml/ns/dbchangelog/1.9
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd”>
Thanks in advance, guys!
-Ryan