python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
SpringBoot Could not autowire. No beans of 'UserMapper' type found error for Mapstruct Mappers
This is my User class.
@Entity
@Table(name = "user_table")
@Data
public class User {
@Id
private Long id;
private String userName;
private String password;
}
This is my UserDto, I know th...
eagerdev
Votes: 0
Answers: 1
Spring Boot @RestController @Autowired null in Unit tests
I can't understand why @Autowiring my @RestController class is returning null.
I want to do a basic unit test before doing an integrated test but its failing.
In fact anything that is being @Autowired...
user16422658
Votes: 0
Answers: 2
Why Spring @Autowired doesn't work in abstract class?
I am doing this way in abstract class
@Autowired
lateinit var fileContract: FileContract
with error
kotlin.UninitializedPropertyAccessException: lateinit property fileContract has not been initializ...
Ekaterina Ivanova iceja.net
Votes: 0
Answers: 2
Access parent fields config properties from child class
I have the following classes:
Parent.class
@Configuration
public class Parent{
boolean foo;
}
Child.class
@Configuration
@Configuration(prefix = "text.prop")
public class Child extends ...
vinter
Votes: 0
Answers: 2