가 비슷한 질문:
아직을 찾을 수 없습니다,무엇이 잘못된 내석
이 방에서 보이는 IntelliJ 스크린샷 IntelliJ
이것은 무슨래
@Component
public class VisitMapper {
@Value("${spring.datasource.url}")
private String url;
@Value("${spring.datasource.username}")
private String username;
@Value("${spring.datasource.password}")
private String password;
//more code below
두 수 있습니다.properties 파일:응용 프로그램-dev.특성과 응용 프로그램입니다.속성입니다. 액티브 프로파일은 설정을 사용합니다.. 에서는 응용 프로그램-dev.속성을 나는:
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
spring.datasource.username=postgres
spring.datasource.password=postgres
가 확실하지 않을 경우 그것은 중요하기 때문에 프로파일은 설정을 개발,하지만 이용해 주시기 바랍니다.속성을 나는:
spring.datasource.url=
spring.datasource.username=
spring.datasource.password=
요약하면 왜 암호 값으로 표시 빈?