Conversation
|
conflict 를 해결해 보세요 Github 상의 에디터로 해결할만한 간단한 문제입니다. |
|
|
||
| <dependency> | ||
| <groupId>org.springframework.boot</groupId> | ||
| <artifactId>spring-boot-configuration-processor</artifactId> |
There was a problem hiding this comment.
pull request 내용에 해당 라이브러리에 대한 내용과 필요성을 추가해주세요
해당 내용은 @it2seiyon 님의 리뷰가 필요합니다. pom 파일 담당자이니까요 !
There was a problem hiding this comment.
@ConfigurationProperties 을 사용할 때는 spring-boot-configuration-processor를 클래스패스에 설정하는 것을 권장한다는 정보를 발견하였습니다.
정보는 아래와 같습니다.
STS 에서 간단하게 스프링부트 애플리케이션 생성하기
STS 에서 부트 애플리케이션을 실행하고 디버깅하기
STS Properties editor를 이용해서 설정프로퍼타이즈 편집하기
@ConfigurationProperties를 사용하는 코드에서 설정프로퍼타이즈 편집하기
| timerName: exampleTimer123 | ||
| datasource: | ||
| driver-class-name: com.mysql.jdbc.Driver | ||
| --- |
There was a problem hiding this comment.
이전에 실습했던 양식으로 공통 설정은 reousrce/application.yml 로 에 넣어주시고
환경에 따라 달라지는 database 설정만 resource-local/application-profile.yml 혹은 resource-{name}/application-profile.yml
에 넣어주세요
ttobii
left a comment
There was a problem hiding this comment.
아래 코멘트 단 부분을 해결해 주세요
그리고 conflict 난 부분도 해결해야 합니다.
park7777/Set up mybatis.
#10