Spring Boot - Spring Annotations
Given this bean declaration:
What is the likely error if you try to inject this bean into a singleton scoped bean without special handling?
@Component
@Scope("session")
public class ShoppingCart { }What is the likely error if you try to inject this bean into a singleton scoped bean without special handling?
