Nested classes are classes that are declared as members of other classes or scopes. Nesting classes is one way to better organize your code. For example, say you have a non-nested class (also known as ...
class Outer { private val bar: Int = 1 class Nested { fun foo() = 2 } } val demo = Outer.Nested().foo() // == 2 Nested classes cannot directly access members (including private members) of the outer ...
Lets have this configuration class. I removed all the bean-method content because its not needed for the issue description. Caused by: org.springframework.beans ...