I'm using Liquibase in the a module where i'll figure out the changeSets that are to be run. But when i use new Liquibase(changeLogFile, (ResourceAccessor) new CompositeResourceAccessor(openmrsFO, fsFO), database); in my code it gives compilation error. it says java:[183,10] cannot find symbol [ERROR] symbol : constructor Liquibase(java.lang.String,liquibase.resource.ResourceAccessor,liquibase.database.Database) [ERROR] location: class liquibase.Liquibase
I have impoted liguibase.Liquibase into my Class and then have liquibase-core-2.0.1 jar included in the pom file.
And also when i use checkDatabaseChangeLogTable() (function in liquibase.database.DataBase) gives the following error. checkDatabaseChangeLogTable() in liquibase.database.Database cannot be applied to (boolean,liquibase.changelog.DatabaseChangeLog,java.lang.String)
Any help to solve this is greatly appreciated.
The question has been closed for the following reason "Problem is not reproducible or outdated" by michael 22 Feb '12, 15:29
Check the dependency structure to make sure that other dependencies in your module doesn't includes another liquibase with older version. You might want to disable the older dependency with something like the following snippet:
answered 10 Nov '11, 13:25
Nyoman Ribeka ♦