You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Parminder S. Lehal" <le...@lehal.net> on 2025/01/10 15:47:30 UTC

weird erros

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

Re: weird erros

Posted by Groza Danut <gr...@gmail.com>.
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 <le...@lehal.net> 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
>

Re: weird erros

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Parminder,

Please, if not done yet, subscribe to the user ML for such questions and then use your email client.
See why here http://ofbiz.apache.org/mailing-lists.html.

You will get a better support, people can answer you on the ML.
The wider the audience the better the answers you might get.

Thanks

This said I hope Groza's email will help you (thank you Groza!).
Else please give us more details about your environment if possible (OS, its version, java version, etc.)

Jacques

Le 10/01/2025 à 16:47, Parminder S. Lehal a écrit :
> 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?
>