Hi,

Did you set JAVA_HOME to point to java 11 jdk? If so then please also checkĀ  what "mvn -v" reports?
For more details then please follow the following link:
https://github.com/oVirt/ovirt-engine/blob/master/README.adoc#prepare-your-dev-envrionment-for-java-11

Regards,
Sharon


On Thu, Nov 28, 2019 at 9:56 PM Prajith Kesava Prasad <pkesavap@redhat.com> wrote:
Hey everyone,

the maven clean build .... in ovirt suddenly started throwing this error :-

i tried a few fix but nothing seems to work, does anyone else have met with this issue?

Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.8.0:compile (default-cli) on project webadmin: Command [[
[ERROR] /bin/sh -c '/usr/lib/jvm/java-11-openjdk-11.0.5.10-0.el7_7.x86_64/bin/java' '-javaagent:/home/vagrant/.m2/repository/org/aspectj/aspectjweaver/1.9.3.RC1/aspectjweaver-1.9.3.RC1.jar' '-Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory' '-Dgwt.jjs.maxThreads=4' '-Djava.io.tmpdir=/home/vagrant/workspace/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp' '-Djava.util.prefs.systemRoot=/home/vagrant/workspace/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp' '-Djava.util.prefs.userRoot=/home/vagrant/workspace/ovirt-engine/frontend/webadmin/modules/webadmin/target/tmp' '-Djava.util.logging.config.class=org.ovirt.engine.ui.gwtaop.JavaLoggingConfig' '-Xms1024M' '-Xmx8192M' '-Dgwt.dontPrune=org\.ovirt\.engine\.core\.(common|compat)\..*' 'com.google.gwt.dev.Compiler' '-logLevel' 'INFO' '-war' '/home/vagrant/workspace/ovirt-engine/frontend/webadmin/modules/webadmin/target/webadmin-4.4.0-SNAPSHOT' '-localWorkers' '1' '-failOnError' '-XfragmentCount' '-1' '-sourceLevel' 'auto' '-gen' '/home/vagrant/workspace/ovirt-engine/frontend/webadmin/modules/webadmin/gen' 'org.ovirt.engine.ui.webadmin.WebAdmin'
[ERROR] ]] failed with status 1


Any help is appreciated,

Thanks,
Prajith
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/FQQ4SUVIHS4Q4T3P37RA57BZMBRMTXBQ/