BUILD FAILURE: mvn clean install on openmrs-core

I tried to build openmrs-core using mvn clean install command, but it shows build failure. I tried to clean my .m2 folder and build again but still throwing same error.

@dkayiwa @ibacher @wikumc

Can you share the output of this command? mvn -v?

This issue seems similar to an error we encountered on Bamboo. However, I no longer see those errors on Bamboo. @dkayiwa, have they been resolved there?

No. The build passes when built on agent yu.openmrs.org but fails on the others.

@manojll do you get the same error if you try compile on Java 11 or Java 17?

I got this error in both java 11 and 17

After switching to Java 17, can you share the output of mvn -v and the compile log via pastebin.com?

@dkayiwa output of mvn -v and the compile log, after switching Java 17

Do you have some time to jump on a call and we troubleshoot this?

yes, I can join for a call

Are you able to come here? https://iu.zoom.us/j/86514204199

yes, I am joining

Hi. I recently joined to cotribute opnemrs. I successfully cloned and setuped the openmrs-core backend project in my intelij with provided guidence of thease docs.

But after all done, when I execute the mvn clean install it’s throwing an error. A Different one than in this topic. I’d appeiciate if anyone can give me a hand with this.

@dkayiwa @raff @burke

could you please share the compile log in pastebin.com?

ok. I will. Just give me some time and thanks for helping me.

@manojll here’s the compile log

Remove spaces from the path Working Stuff\Full Stack Projects\Open Souse Projects and you will be good.

Hey. Actually I removed spaces in the project path. But still getting errors.