Building CE from source, fail to start up the web server

Hi, I followed the github page on installing the CE from source and everything seems to be fine until the final step - Run the ant command ant start-virgo-community.

I got the following error log:

‘org.eclipse.virgo.management.console’ version ‘3.6.4.RELEASE’.
[2021-11-14 05:06:37.028] start-signalling-2 Starting web bundle ‘org.eclipse.virgo.management.console’ version ‘3.6.4.RELEASE’ with context path ‘/admin’.
[2021-11-14 05:06:37.029] fs-watcher Hot deployer processing ‘INITIAL’ event for file ‘apromore-community.plan’.
[2021-11-14 05:06:37.079] fs-watcher Installing plan ‘org.apromore.community’ version ‘1.1.0’.
[2021-11-14 05:06:37.081] fs-watcher Installing configuration ‘site’ version ‘0.0.0’.
[2021-11-14 05:06:37.082] fs-watcher Cannot find configuration ‘git’ version range ‘[0.0.0, oo)’ in repository ‘ext-usr’.
[2021-11-14 05:06:37.088] fs-watcher Installation of plan ‘org.apromore.community’ version ‘1.1.0’ failed. org.eclipse.virgo.nano.deployer.api.core.DeploymentException: Deployment of plan ‘org.apromore.community’ version ‘1.1.0’ in scope ‘null’ failed: configuration ‘git’ in version range ‘[0.0.0, oo)’ not found
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:116)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:92)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver$1.visit(PlanResolver.java:86)
at org.eclipse.virgo.util.common.ThreadSafeGraphNode.visitInternal(ThreadSafeGraphNode.java:193)
at org.eclipse.virgo.util.common.ThreadSafeGraphNode.visit(ThreadSafeGraphNode.java:184)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.transform(PlanResolver.java:82)
at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessGraph(TransformationStage.java:54)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:185)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:140)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:253)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:225)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeployerFileSystemListener.java:237)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:88)
at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:380)
at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:289)
at org.eclipse.virgo.nano.deployer.hot.WatchTask.run(WatchTask.java:49)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.eclipse.virgo.nano.deployer.api.core.DeploymentException: configuration ‘git’ in version range ‘[0.0.0, oo)’ not found
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.obtainInstallArtifactGraph(PlanResolver.java:165)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:101)
… 23 common frames omitted

[2021-11-14 05:06:37.091] fs-watcher Install failed for configuration ‘site’ version ‘0.0.0’.
[2021-11-14 05:06:37.092] fs-watcher Install failed for plan ‘org.apromore.community’ version ‘1.1.0’.
[2021-11-14 05:06:37.098] fs-watcher Hot deploy failed for file ‘apromore-community.plan’. org.eclipse.virgo.nano.deployer.api.core.DeploymentException: Deployment of plan ‘org.apromore.community’ version ‘1.1.0’ in scope ‘null’ failed: configuration ‘git’ in version range ‘[0.0.0, oo)’ not found
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:116)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:92)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver$1.visit(PlanResolver.java:86)
at org.eclipse.virgo.util.common.ThreadSafeGraphNode.visitInternal(ThreadSafeGraphNode.java:193)
at org.eclipse.virgo.util.common.ThreadSafeGraphNode.visit(ThreadSafeGraphNode.java:184)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.transform(PlanResolver.java:82)
at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessGraph(TransformationStage.java:54)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:185)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:140)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:253)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:225)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeployerFileSystemListener.java:237)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:88)
at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:380)
at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:289)
at org.eclipse.virgo.nano.deployer.hot.WatchTask.run(WatchTask.java:49)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.eclipse.virgo.nano.deployer.api.core.DeploymentException: configuration ‘git’ in version range ‘[0.0.0, oo)’ not found
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.obtainInstallArtifactGraph(PlanResolver.java:165)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:101)
… 23 common frames omitted

Can somebody help me understand what is going on and troubleshoot this? Thanks!
BTW, the reason why I want to build from the source is so that I can use the plugins, if there is a pre-built docker image somwhere that would also be very helpful.

Thanks a lot,
NaienPreformatted text

Hi @naienh

Some questions to troubleshoot:

  1. When you run “java - version”, do you see version 1.8… (Java 8)? It has to be exactly version 1.8… (not Java 11)
  2. When you get git --version, do you see version 2.0 or higher? (I ask this because the cause of the error message refers to the version of git).
  3. When you run “ant - version”, do you get 1.10.1 or higher?
  4. And finally, when you run git, are you checking out tag 7.15?
    git checkout tags/v7.15

And a quick note: If using Docker is a possibility for you, we recommend checking out the Docker container instead: