Unable to read file

Hello,

 

i get allways s error, if i use the sqlFile Tag.

 

My dir structure is as follows:
src/main/resources

– core.xml

– sql/createPerson.sql

 

core.xml looks like

 

  1. <changeSet id=“1” author=“bob”>

    <sqlFile path=“sql/createPerson.sql”/>

  2. Error:

    Caused by: liquibase.exception.SetupException: -Unable to read file

    at liquibase.change.core.SQLFileChange.loadFromFileSystem(SQLFileChange.java:121)

    at liquibase.change.core.SQLFileChange.init(SQLFileChange.java:83)

    at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:352)

    … 53 more

liquibase.exception.ChangeLogParseException: Invalid Migration File: -Unable to read file

 

Any ideas?

 

Thanks

How are you trying to run liquibase? Ant? Command line? 


Nathan