티스토리 뷰
SW개발/Spring Framework
SpringBootTest Could not resolve placeholder 'spring.profiles.active'
개소왕 2020. 7. 3. 22:33* 개요
JUnit Test 하려 하는데 다음 오류 메시지
SpringBootTest Could not resolve placeholder 'spring.profiles.active'
* 환경
SpringBootTest
Junit 5
* 해결
@SpringBootTest(properties = "spring.profiles.active:local")
https://github.com/spring-projects/spring-boot/issues/19788
@ActiveProfiles 안됨
@PropertySource 안됨
'SW개발 > Spring Framework' 카테고리의 다른 글
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.SpringApplication (0) | 2020.09.30 |
---|---|
mybatis / org.postgresql.util.PSQLException: The column index is out of range: 4, number of columns: 3 (3) | 2020.08.19 |
JPA Naming strategy (0) | 2020.05.05 |
파일 업로드 구현 (0) | 2020.04.20 |
Caused by: java.io.FileNotFoundException: jmxremote.access (0) | 2020.04.14 |