'Unsatisfied dependency: no bean matches the injection point

I use the Kotlin language to develop Quarkus based application. Regarding to the https://quarkus.io/guides/kotlin it is possible to write constructor injection in the class definition.

I am trying to do so and receive a warning:

enter image description here

What am I doing wrong?

The project is hosted on https://github.com/softshipper/playwithmtls.



Solution 1:[1]

Either you're not using the @Inject property or you have to late initialize the SecurityIdentity.

@Path("/hello")
class ExampleResource {

   @Inject   
   private lateinit var identity: SecurityIdentity
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 olatunji oniyide