반응형
Jasypt 사용시 @DataJpaTest로 단위테스트를 진행하려고 하면 에러가 발생합니다
아래 코드처럼 JasyptConfig를 import하여 해결할수 있습니다
@Import(JasyptConfig.class)
@DataJpaTest
class RepoTest {
}
반응형
'Spring' 카테고리의 다른 글
[Spring] @Valid List형태로 받으면 안되는 현상 해결방안 (0) | 2023.02.28 |
---|---|
[Spring] @PostConstruct 활용한 초기 설정 (0) | 2023.02.27 |
[Spring] mapstruct를 이용한 DTO <-> Entity 변환 (0) | 2023.02.22 |
[SpringBoot 3.0] Jasypt를 이용한 설정값 암호화 (0) | 2023.02.22 |
[Spring JPA] 복합키 적용하는 방법 (0) | 2023.02.19 |
댓글