본문 바로가기

분류 전체보기6

WSL 에서 eclipse 로그 tail 보기 1. WSL 에서 eclipse 로그 tail 보기 WSL을 설치하고 eclipse로그나 윈도우 프로그램이 생성하는 로그를 tail 로 보면, 로그가 올라가지 않는다. 이때 tail 에 ---disable-inotify 옵션을 추가하면 로그가 올라가는 걸 볼수있다. tail ---disable-inotify -f log파일명 아래처럼, wsl .profile에 alias를 걸어두면 tail 명령어만 입력해서 사용할수 있다. 2. eclipse 에서 console창을 로그파일로 남기는 방법 2020. 6. 12.
spring 파일 업로드 오류 해결 pom.xml 1.8 5.0.7.RELEASE 1.6.10 1.6.6 ... javax.servlet javax.servlet-api 3.1.0 provided web.xml D:\\DEV\\workspace.sp\\upload 20971520 41943040 20971520 servlet-context.xml 오류내용 타입 예외 보고 메시지 Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.lang.IllegalStateException: 어떤 multi.. 2020. 4. 15.
eclipse 에서 gitlab 최초 commit 하기 eclipse 에서 gitlab 최초 commit 하기 프로젝트 우클릭> Team > Share Project Git Repositories View 의 Remotes 우클릭> Create Remote 로 Gitlab 의 repository를 설정해 준다. Git Repositories 에서 프로젝트 선택 우클릭 > Show In > Git Staging 여기서 올리지 말아야 할 파일들을 .gitignore 파일로 설정해서 unstaged changes 에서 보이지 않도록 설정한다. 프로젝트 폴더에 .gitignore 파일을 생성하고 편집해준다. gitstaging 창에서 refresh 버튼을 클릭하면 .gitignore 설정대로 ignore된 파일들은 보이지 않는다. 2020. 4. 15.
spring @Log4j annotation compile 에러 해결 package com.yp.controller;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.RequestMapping;import lombok.extern.log4j.Log4j; @Controller@RequestMapping("/sample/*")@Log4jpublic class SampleController {@RequestMapping("")public void basic() {log.info("basic........");}} [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed.. 2020. 4. 9.