Informasjonsforvaltning / Informasjonsforvaltning/catalog-view-api

UnsatisfiedDependencyException: Error creating bean with name 'conceptsController' defined in URL

Open
#122 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
0
Forks
0
Avg merge
21h 50m
Merged PRs (30d)
1

Description

UnsatisfiedDependencyException: Error creating bean with name 'conceptsController' defined in URL [jar:nested:/home/default/app.jar/!BOOT-INF/classes/!/no/digdir/catalog_view_api/controller/ConceptsController.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'conceptsViewService' defined in URL [jar:nested:/home/default/app.jar/!BOOT-INF/classes/!/no/digdir/catalog_view_api/service/ConceptsViewService.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'conceptViewRepository' defined in no.digdir.catalog_view_api.elastic.ConceptViewRepository defined in @EnableElasticsearchRepositories declared on ElasticsearchConfig: Failed to instantiate [org.springframework.data.elasticsearch.repository.support.SimpleElasticsearchRepository]: Constructor threw exception
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray ( org/springframework.beans.factory.support/ConstructorResolver.java:804 )

Contributor guide

Open the contributing guide

Research direction

Start with the startup stack trace and inspect ConceptsController, ConceptsViewService, ConceptViewRepository, and ElasticsearchConfig to trace the failed repository construction. Reproduce the application startup failure and identify the underlying Elasticsearch dependency problem; done means the application starts without this UnsatisfiedDependencyException.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, kotlin, spring-boot
Domain
api, backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.