공부
[Spring] lombok do not call super constructor
승가비
2023. 11. 3. 01:12
728x90
https://stackoverflow.com/questions/29740078/how-to-call-super-constructor-in-lombok
how to Call super constructor in Lombok
I have a class @Value @NonFinal public class A { int x; int y; } I have another class B @Value public class B extends A { int z; } lombok is throwing error saying it cant find A()
stackoverflow.com
롬복 @AllArgumentConstructor는 자식 클래스에서 super로 호출 하지 못한다
아래의 예제에서 Parent를 상속받은 Child에서 Parent의 생성자를 호출 하지 못한다.부모클래스자식클래스how to Call super constructor in Lombok위의 질문에 롬복 개발자가 남긴 답변This is not possible in Lomb
velog.io
728x90