All OpenMRS ID accounts have been reset. Read more and change your password before signing in.

Hi,

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.

Thanks.

asked 30 Oct '11, 20:30

jyothi's gravatar image

Jyothi Reddy Anumula
0112
accept rate: 0%

closed 22 Feb '12, 15:29

michael's gravatar image

Michael Downey ♦♦
4382714

Hi there. Please edit this question's title, rephrasing it to be a clear, specific question. Thanks for helping us to keep OpenMRS Answers a great place for people to get information!

(31 Oct '11, 12:09) Burke Mamlin ♦♦ burke's gravatar image

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:

1
2
3
4
5
6
7
8
<exclusions>
    ...
    <exclusion>
        <artifactId>xalan</artifactId>
        <groupId>xalan</groupId>
    </exclusion>
    ...
<exclusions>
link

answered 10 Nov '11, 13:25

nyoman's gravatar image

Nyoman Ribeka ♦
115118
accept rate: 16%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • tab-indent code:
    :::supported language
    syntax();
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×66
×19

Asked: 30 Oct '11, 20:30

Seen: 921 times

Last updated: 22 Feb '12, 15:29