인프런 커뮤니티 질문&답변
프로젝트의 루트경로가 아닌 외부의 properties를 적용할 때
해결된 질문
작성
·
1.3K
0
일반적이라면 resources 폴더에 properties가 위치해야 하는데, 외부폴더에 있는 파일을 사용하려면
gradle에서 따로 경로설정을 건드릴 수 있나요? maven 은 pom.xml 같은 파일로 수정할 수 있는 것 같던데 질문드립니다..
nested exception is java.io.FileNotFoundException: class path resource [application-oauth.properties] cannot be opened because it does not exist (classpath에 있어야하는게 외부에 있어서 인식을 못하는 상태입니다)





