2019년 5월 24일 금요일

실행중인 프로세스 | 포트 확인 및 kill



1. cmd

2. netstat -ano | findstr 8080

3. tasklist /FI "PID eq 5056"

해당 프로세스 죽이기
4. taskill /pid 5056 or taskill /pid 5056/f

2019년 5월 15일 수요일

Maven 디버깅 옵션, Failure to transfer org.apache.maven:maven-archiver:pom:2.5

Maven 오류시
-- 내용도 모르는데 어떻게??
-- 원인이 여러가지 일수가 있으니.
-- 디버깅을 해봐야 한다.


Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-archiver:pom:2.5 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org

뭐 이렇게만 봐선 뭔지 어떻게..
결론

프로젝트 우클릭 --> run as  --> Run Configurations
--> MavenBuild --> 프로젝트명 클릭
------------------------------------------------------------
Goals 옵션에 :::::               -X pachage
Debug Output 체크
------------------------------------------------------------

run 실행을 하면 어디가 잘못되어 있는지 나옴

그거 수정해주면 됨.

난 참고로 자바 빌드 버전이 잘못된 경우 였음.