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

Lauchner fails to start #193

Closed
ipa-big opened this issue May 16, 2024 · 1 comment · Fixed by #194
Closed

Lauchner fails to start #193

ipa-big opened this issue May 16, 2024 · 1 comment · Fixed by #194
Labels
triage all new issues awaiting classification

Comments

@ipa-big
Copy link

ipa-big commented May 16, 2024

Bug Report

Describe the Bug

The launcher of the federated catalog (launchers/build/lib/fc.jar) fails at startup.

Expected Behavior

The launcher should start an instance of the Federated Catalog Service

Observed Behavior

The launcher starts and shows the following error messages:

org.eclipse.edc.boot.system.injection.EdcInjectionException: The following injected fields were not provided:
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.web.jersey.JerseyExtension
Field "configurator" of type [interface org.eclipse.edc.web.spi.configuration.WebServiceConfigurer] required by org.eclipse.edc.connector.api.management.configuration.ManagementApiConfigurationExtension
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.connector.api.management.configuration.ManagementApiConfigurationExtension
Field "configurator" of type [interface org.eclipse.edc.web.spi.configuration.WebServiceConfigurer] required by org.eclipse.edc.protocol.dsp.http.api.configuration.DspApiConfigurationExtension
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.protocol.dsp.http.api.configuration.DspApiConfigurationExtension
        at org.eclipse.edc.boot.system.DependencyGraph.of(DependencyGraph.java:102)
        at org.eclipse.edc.boot.system.ExtensionLoader.loadServiceExtensions(ExtensionLoader.java:120)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.createExtensions(BaseRuntime.java:145)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:178)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:84)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.main(BaseRuntime.java:76)
Exception in thread "main" org.eclipse.edc.spi.EdcException: org.eclipse.edc.boot.system.injection.EdcInjectionException: The following injected fields were not provided:
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.web.jersey.JerseyExtension
Field "configurator" of type [interface org.eclipse.edc.web.spi.configuration.WebServiceConfigurer] required by org.eclipse.edc.connector.api.management.configuration.ManagementApiConfigurationExtension
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.connector.api.management.configuration.ManagementApiConfigurationExtension
Field "configurator" of type [interface org.eclipse.edc.web.spi.configuration.WebServiceConfigurer] required by org.eclipse.edc.protocol.dsp.http.api.configuration.DspApiConfigurationExtension
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.protocol.dsp.http.api.configuration.DspApiConfigurationExtension
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.onError(BaseRuntime.java:125)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:197)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:84)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.main(BaseRuntime.java:76)
Caused by: org.eclipse.edc.boot.system.injection.EdcInjectionException: The following injected fields were not provided:
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.web.jersey.JerseyExtension
Field "configurator" of type [interface org.eclipse.edc.web.spi.configuration.WebServiceConfigurer] required by org.eclipse.edc.connector.api.management.configuration.ManagementApiConfigurationExtension
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.connector.api.management.configuration.ManagementApiConfigurationExtension
Field "configurator" of type [interface org.eclipse.edc.web.spi.configuration.WebServiceConfigurer] required by org.eclipse.edc.protocol.dsp.http.api.configuration.DspApiConfigurationExtension
Field "webServer" of type [interface org.eclipse.edc.web.spi.WebServer] required by org.eclipse.edc.protocol.dsp.http.api.configuration.DspApiConfigurationExtension
        at org.eclipse.edc.boot.system.DependencyGraph.of(DependencyGraph.java:102)
        at org.eclipse.edc.boot.system.ExtensionLoader.loadServiceExtensions(ExtensionLoader.java:120)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.createExtensions(BaseRuntime.java:145)
        at org.eclipse.edc.boot.system.runtime.BaseRuntime.boot(BaseRuntime.java:178)
        ... 2 more

Steps to Reproduce

Steps to reproduce the behavior:

./gradlew build
cd launchers
java -jar build/libs/fc.jar

Context Information

  • EDC 0.6.4
  • OS: Windows / Ubuntu
@github-actions github-actions bot added the triage all new issues awaiting classification label May 16, 2024
Copy link

Thanks for your contribution 🔥 We will take a look asap 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage all new issues awaiting classification
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant