Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running demo throws "EdcInjectionExcetion" #396

Open
Joao-Parente opened this issue Dec 13, 2024 · 0 comments
Open

Running demo throws "EdcInjectionExcetion" #396

Joao-Parente opened this issue Dec 13, 2024 · 0 comments

Comments

@Joao-Parente
Copy link

Joao-Parente commented Dec 13, 2024

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
@Joao-Parente Joao-Parente changed the title Running demo throws Running demo throws "EdcInjectionExcetion" Dec 13, 2024
@ndr-brt ndr-brt removed the triage label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants