inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

김한솔님의 게시글

김한솔 김한솔

@pinest

수강평 작성수
2
평균평점
4.0

게시글 2

질문&답변

binding error

myserver: context-path: /my-app port: 9090 data: url: jdbc:h2:mem: driver-class-name: org.h2.Driver username: sa password:

좋아요수
0
댓글수
3
조회수
245

질문&답변

binding error

@ExtendWith(SpringExtension::class) @ContextConfiguration(classes = [SpringBootTobyApplication::class]) @TestPropertySource(locations = ["classpath:application.yml"]) class MyDataSourcePropertiesTest { @Autowired private lateinit var myDataSourceProperties: MyDataSourceProperties @Test fun testPropertiesBinding() { assertNotNull(myDataSourceProperties) assertNotNull(myDataSourceProperties.url) assertNotNull(myDataSourceProperties.driverClassName) } }

좋아요수
0
댓글수
3
조회수
245