TRUNK4988 -Liquibase Errors

I have cloned a repo related with TRUNK4988. unfortunately before making any changes there is an error in the liquibase.

Proberbly that error might have come with the code because I have not made any change yet.

Since the error appears to occur in the tests, it’s much more helpful if you show the error rather than just the text reporting that there was an error. What version of Java are you using?

This is the java version "java version “1.8.0_202”. Could it be the root cause? This is the error possibly " Screenshot 2025-02-25 000644 ". I think there is a test that cannot access the file test.xml . The error message indicates that the file is being used by another process, which is preventing the test from accessing it.

Nope. Just a thought.

Are you able to post the full output using something like Pastebin or the like? Screenshots don’t go too far in troubleshooting this kind of thing.

OK, Iv’e used pastebin and link is here pastebin-link

@dkayiwa this is the issue I raised on coffee break.

Restart your computer and then compile again.

@dkayiwa i have restarted the machine many time and it is not solving the problem

Can you share the current full logs via pastebin.com?

Pastebin-link @dkayiwa

Do you have any anti virus software that is running? Does it compile if you temporarily stop it?

@dkayiwa I don’t have any anti virus software on my machine maybe windows defender. But still the error is pasisting

Try to delete it, clone again and compile.

@dkayiwa I have tried the deletion and cloning but error still stands. On my would be findings Its like the file management streams in the test.xml are the would be causes. If not so let me be guided please.

Are you compiling this from within an IDE?

No,…I am running it in the file explorer not in the IDE

What is the output of this command? mvn -v

@dkayiwa mvn -v provides this : Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: E:\MAVEN\apache-maven-3.9.6-bin\apache-maven-3.9.6 Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: C:\Program It provides Files\Java\jdk1.8.0_202\jre Default locale: en_US, platform encoding: Cp1252 OS name: “windows 10”, version: “10.0”, arch: “amd64”, family: “windows”

@dkayiwa restarting the machine multiple times, disabling windows defender and running * mvn clean package -Dskiptests* solved the problem