MacOS(4)
-
[Logback 경로 설정 문제 해결] ERROR - Failed to create parent directories
Windows 환경에서 설정해둔 Spring boot 프로젝트를 Mac OS에서 그대로 실행시키는데 아래와 같은 문제가 발생했다. java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_APPENDER] - Failed to create parent directories for [/logs/projectName/LOCAL/projectName.log] ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_APPENDER] - openFile(/logs/projectNa..
2021.01.08 -
[IntelliJ/MacOS] JDK 버전 맞지 않는 문제 해결
Mac OS에서 IntelliJ에서 아래와 같은 메세지가 뜨면서 프로젝트가 실행이 안되었다. (use -source 7 or higher to enable multi-catch statement) 나는 분명 JAVA 8버전 쓰고 있는데 무슨 말도안되는 소린가해서 일단 다시 JAVA 버전 확인 해보았다. $ java -version 근데 자꾸 1.5로 설정되어있다고 떠서 확인 결과 IntelliJ에서 JDK 설정이 잘못된 것을 확인; 아래 방법으로 문제 해결했다. 1. FIle > Project Structure > Module > (프로젝트 더블클릭) > Sources > Language level > JDK 버전 설정 2. Preferences > Build, Execution, Deployment >..
2021.01.08 -
Mac OS 환경에서 Selenium Driver Path 설정하기
크롤러 구현을 위해, Selenium Driver를 설치하였는데 다음과 같은 에러가 떴다. Error: The ChromeDriver could not be found on the current PATH. Please download the latest version of the ChromeDriver from http://chromedriver.storage.googleapis.com/index.html and ensure it can be found on your PATH. 문제는 path에서 Chrome Driver를 찾을 수 없었기 때문.. 단순히 path로 옮겨주면 된다!😄 자세한 STEP 1. Chrome Driver 다운받기 Chrome Driver를 다운받아야한다. 해당 링크에서 zip파일..
2020.09.12 -
[Mac OS][Node] npm Error: EACCES: permission denied, access '/usr/local/lib/node_modules' 권한 문제 해결하기
Mac OS에 node를 설치한 후 npm 명령어를 사용할 때 권한이 없어서 실행이 되지 않는 경우가 발생했다. 특히 npm install -g 할 때... $ npm install -g npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/local/lib/node_modules npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm ERR! [Error: EACCES: perm..
2020.06.26