JPA, Querydsl을 학습하는 도중 com.querydsl.core.types.QBean com.example.queyrdsl.entity.Staff with modifiers "protected" 라는 Exception이 발생했다. querydsl 사용중 QBean에서 Entity객체인 Staff를 생성하려한다. 하지만 Staff 클래스는 Access = Protected였다. 그래서 위와같은 에러가 발생하였다. @Getter @Entity @NoArgsConstructor(access = AccessLevel.PROTECTED)// 이 부분이 문제 public class Staff { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) privat..