Gurkentests werden nicht durchgeführt, weil Bean nicht gefunden werden kannJava

Java-Forum
Anonymous
 Gurkentests werden nicht durchgeführt, weil Bean nicht gefunden werden kann

Post by Anonymous »

Ich versuche, Gurkentests durchzuführen, aber sie fehlen mit diesem Fehler: < /p>

Code: Select all

Description:
Field metricOnlyLogger in my.application.controller.support.ExceptionHandlerControllerAdvice required a bean of type 'my.application.observability.logging.MetricOnlyLogger' that could not be found.

The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)

Action:
Consider defining a bean of type 'my.application.observability.logging.MetricOnlyLogger' in your configuration.
< /code>
my.application.observability.logging.MetricOnlyLogger
hat die oben erwähnte @autowired Annotation. Es ist auch wie folgt in der logback-pring.xml :
konfiguriert.


< /code>
What's causing this?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post