Hi Parminder, This might or might not relate to a similar issue I had, but I'll leave it here for you to check.
I had a similar error when trying to run the Gradle scripts to start Ofbiz(don't remember the exact error message). The problem was that I was running Ofbiz inside a Linux Docker container, but I was copying some scripts from my Eclipse IDE installed on Windows and my IDE was automatically converting newline characters from the /n format to the /n/r format, so the Linux container was throwing an error when trying to read the script. I don't know what your deployment scenario is, but make sure to check the newline characters inside the Gradle scripts to make sure they are not the problem. Groza Danut On Fri, Jan 10, 2025, 18:17 Parminder S. Lehal <[email protected]> wrote: > On one of my computers Ofbiz throws these errors when trying to run > gradlew ofbiz for 18.12.17 > > > [Fatal Error] commons-parent-54.pom:1:44: Content is not allowed in > prolog. > [Fatal Error] commons-parent-54.pom:1:44: Content is not allowed in > prolog. > [Fatal Error] commons-parent-54.pom:1:44: Content is not allowed in > prolog. > .................................... > > The same release works fine on one other computer. Both computers are on > Fedora 41 with the same latest updates under same java 11 . What might > be causing this error? > > -- > > > Regards, > > > Parminder S. Lehal >
