eclipse-edc/MinimumViableDataspace

Running demo throws "EdcInjectionExcetion"

Opened this issue · 1 comments

Bug Report

Describe the Bug

When i try to run the demo (IntelliJ version) it results in an "EdcInjectionExcetion", and it says class "org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension" is missing.

A clear and concise description of the bug.
Running the demo causes:

> Task :launchers:catalog-server:run FAILED
INFO 2024-12-13T12:06:48.766916952 Booting EDC runtime
WARNING 2024-12-13T12:06:48.789307157 The runtime is configured as an anonymous participant. DO NOT DO THIS IN PRODUCTION.
SEVERE 2024-12-13T12:06:48.901111898 Error booting runtime: The following problems occurred during dependency injection: ## class org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension is missing   --> Configuration value "issuerId" of type [class java.lang.String] (property 'edc.iam.issuer.id')
org.eclipse.edc.boot.system.injection.EdcInjectionException: The following problems occurred during dependency injection:
## class org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension is missing
  --> Configuration value "issuerId" of type [class java.lang.String] (property 'edc.iam.issuer.id')
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:98)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.main(BaseRuntime.java:79)
SEVERE 2024-12-13T12:06:48.901556196 Error booting runtime: org.eclipse.edc.boot.system.injection.EdcInjectionException: The following problems occurred during dependency injection: ## class org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension is missing   --> Configuration value "issuerId" of type [class java.lang.String] (property 'edc.iam.issuer.id')
org.eclipse.edc.spi.EdcException: org.eclipse.edc.boot.system.injection.EdcInjectionException: The following problems occurred during dependency injection:
## class org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension is missing
  --> Configuration value "issuerId" of type [class java.lang.String] (property 'edc.iam.issuer.id')
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.onError(BaseRuntime.java:152)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:98)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.main(BaseRuntime.java:79)
Caused by: org.eclipse.edc.boot.system.injection.EdcInjectionException: The following problems occurred during dependency injection:
## class org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension is missing
Exception in thread "main"   --> Configuration value "issuerId" of type [class java.lang.String] (property 'edc.iam.issuer.id')
org.eclipse.edc.spi.EdcException: org.eclipse.edc.spi.EdcException: org.eclipse.edc.boot.system.injection.EdcInjectionException: The following problems occurred during dependency injection:
        ... 2 more
## class org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension is missing
  --> Configuration value "issuerId" of type [class java.lang.String] (property 'edc.iam.issuer.id')
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.onError(BaseRuntime.java:152)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:116)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.main(BaseRuntime.java:79)
Caused by: org.eclipse.edc.spi.EdcException: org.eclipse.edc.boot.system.injection.EdcInjectionException: The following problems occurred during dependency injection:
## class org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension is missing
  --> Configuration value "issuerId" of type [class java.lang.String] (property 'edc.iam.issuer.id')
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.onError(BaseRuntime.java:152)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:98)
        ... 1 more
Caused by: org.eclipse.edc.boot.system.injection.EdcInjectionException: The following problems occurred during dependency injection:
## class org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension is missing
  --> Configuration value "issuerId" of type [class java.lang.String] (property 'edc.iam.issuer.id')
        ... 2 more

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':launchers:catalog-server:run'.
> Process 'command '/usr/lib/jvm/temurin-17-jdk-amd64/bin/java'' finished with non-zero exit value 1

Expected Behavior

Demo starts.

Observed Behavior

Demo does not start.

Steps to Reproduce

  1. Clone Repo
  2. ./gradlew build
  3. ./gradlew run

Context Information

  • Used version: current commit
  • OS: Ubuntu 20.04.6 LTS

This issue is stale because it has been open for 14 days with no activity.