본문 바로가기

🚧에러모음4

[Git] error: pathspec 'message' did not match any file(s) known to git [개발환경] ✔ Windows 10 ✔ IntelliJ IDEA Ultimate 2022.1.3 ✔ jdk 17.0.3.1 [문제상황] 작업내역을 저장하려고 하는데 add까진 되지만 commit이 안되는 상황 발생 $ git commit -m -s "Create deploy-docker-image.yml" error: pathspec 'Create deploy-docker-image.yml' did not match any file(s) known to git 요런 에러메세지가 나오면서 커밋이 안된다ㅠㅠ 구글링을 해보며 다음과 같은 시도를 해보았다 1. git init $ git init $ git add . $ git commit -m "message" $ git push origin master 2... 2022. 9. 21.
[IntelliJ] Command line is too long. Shorten the command line and rerun. [개발환경] ✔ Windows 10 ✔ IntelliJ IDEA Ultimate 2022.1.3 ✔ jdk 17.0.3.1 [문제상황] Run Project 버튼을 눌렀는데 Error running 프로젝트명. Command line is too long. Shorten the command line and rerun. 이런 에러 메세지가 뜨면서 프로젝트 실행이 되지 않음 [해결방법] Run > Edit Configuratiions 선택 Modify options 선택 Shorten command line 선택 Shorten command line > @argfile (Java9) 선택 적용 후 실행이 잘 되는지까지 확인!! [참고문서] https://stackoverflow.com/questions/6.. 2022. 9. 20.
[ERROR] [MY-011087] [Server] Different lower_case_table_names settings for server ('1') and data dictionary ('0'). [문제상황] 도커 MySQL컨테이너를 생성하면 디폴트로 대소문자를 구분하게 되어있다 대소문자 구분을 하지 않게 하려고 MySQL컨테이너 내의 /etc/mysql/my.cnf 파일에 lower_case_table_names=1 이 코드를 추가하고 컨테이너 restart를 했더니 컨테이너가 종료됨;; 재시작 시키려고해도 이렇게 요지부동.... 로그를 확인해보려고 docker logs 를 입력했더니 이러한 에러로그가 찍혀있다 [ERROR] [MY-011087] [Server] Different lower_case_table_names settings for server ('1') and data dictionary ('0'). [문제원인] 내공부족으로 정확한 원인은 모르겠으나...ㅠㅠ 참고 글은 [mysqld.. 2021. 7. 29.
[Spring] Execution failed for task ':compileJava'. 문제상황 인프런 강의를 따라 프로젝트 설정을 한 뒤 기본소스코드를 실행했더니 Execution failed for task ':compileJava'. 에러가 발생했다 Execution failed for task ':compileJava'. > invalid source release: 11 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. 원인 그래들 JVM 버전이 11이하 버전인데 build.gradle에 sourceCompatibility 설정이 11로 되어있었기 때문 해.. 2021. 7. 13.