[윈도우 터미널] The goal you specified requires a project to execute but there is no POM in this directory
·
Tips/터미널 명령어
> mvn -B archetype:generate -DgroupId=cohttp://m.nhnacademy.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 명령어를 위와 같이 터미널에 입력했을 때 마주할 수 있는 ..윈도우 터미널에서 명령어로 maven 빌드 프로젝트를 생성할 때 발견할 수 있는 에러이다. 구글링을 통해서 티스토리, 블로그, 스택 오버 플로우를 통해 많이 찾아 봤지만 실제 pom.xml 파일의 경로를 지정하라고만 나오고 다른 것을 찾아 보기 매우 힘들다. 필자 또한 GPT까지 동원해서 해결을 시도했지만 결국 강사님의 도움을 받아 해결할 수 있었다.새롭게 프로젝트를 만..
[Ubuntu] Bad header line Bad header data 에러
·
Tips/우분투 명령어 에러
Err:1 https://packages.microsoft.com/ubuntu/22.04/mssql-server-2022 jammy InRelease   Bad header line Bad header data위와 같은 오류가 뜰 때 있다. 매우매우 짜증난다. 우분투 환경에서 다운로드한 폴더나 파일 전부 삭제하고 다시 깔아도 똑같은 문제가 생긴다. 이럴 때 찾은 해결 방법Bad header line이나 Bad header data 라고 뭐 안 좋다고 뜬다. 그런데 그냥 냅 두고 다음 명령어를 실행하자.sudo rm -rf /var/lib/apt/lists/* && sudo apt-get update 위 명령어를 하게 되면 source list를 삭제하고 update를 진행하게 된다. 그리고 원래의 작업을..