본문 바로가기

분류 전체보기60

[Spring] Intellij에서 Spring + Maven 시작하기 (Mac) Mac에서 Intellij에서 Spring과 Maven을 사용하여 서버를 구동해보기 intellij - https://www.jetbrains.com/idea/ openjdk17 - brew // 18 버전을 사용할 경우 (https://jdk.java.net/18/) tomcat 10.0.22 - (https://tomcat.apache.org/download-10.cgi) 1. Homebrew를 이용해 openjdk를 설치한 후 설치 확인한다. Homebrew가 없다면 (https://kkkkang1009.tistory.com/8)에서 마지막의 설치 커맨드를 입력 brew install openjdk@17 brew list 2. brew로 설치한 Openjdk를 intellij에서 사용할 수 있도록 .. 2022. 7. 14.
[Homebrew] Homebrew 삭제 및 재설치 1. 아래의 명령어를 입력 후 'Y' 입력 및 Password 입력을 통해 Homebrew를 삭제한다. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)" 2. /usr/local/Homebrew 폴더를 삭제한다. rm -rf /usr/local/Homebrew/ 폴더 삭제 중 권한 문제가 발생한다면 sudo 명령어 추가 후 Password를 입력한다. sudo rm -rf /usr/local/Homebrew/ 3. 아래의 명령어를 입력 후 엔터 입력을 통해 Homebrew를 설치한다. /bin/bash -c "$(curl -fsSL https://raw.githubusercon.. 2022. 7. 12.
[Homebrew][Error] homebrew-core is a shallow clone. homebrew를 업데이트 하기위해 아래의 명령어로 업데이트를 진행 brew update 업데이트를 시도하다보면 위와 같은 에러가 발생. homebrew가 더 이상 shallow clone을 생성하지 않기 때문에 발생하는 현상 git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow 위의 명령어 실행 후 다시 update 명령어로 진행하면 정상 동작 2022. 7. 12.
[Spring][Error] The dependencies of some of the beans in the application context form a cycle Spring 혹은 Spring boot를 사용하여 서버 개발을 하다보면 아래와 같은 오류가 발생하며 실행이 안될 때가 있다. Description: The dependencies of some of the beans in the application context form a cycle: ┌─────┐ | userService (field private xxxxx) ↑ ↓ | securityService (field private xxxxx) └─────┘ Action: Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency.. 2022. 7. 10.
[Java][Error] java.nio.charset.MalformedInputException: Input length = 1 프로젝트 실행시 java.nio.charset.MalformedInputException: Input length = 1 오류가 발생하는 경우가 종종 있는데 인코딩 타입이 UTF-8이 아닌 경우에 발생하여 타입 변경시 해결 되는 경우가 있다. Eclipse 사용시 1. menu > run > run configurations 2. Arguments Tab > VM arguments 에 아래 문구 추가 -Dfile.encoding=UTF-8 VS Code 사용시 1. 하위 방법 중 하나 선택하여 동작 1-1. 우측 하단 Encoding 부분 클릭하거나 1-2. F1 > encoding 입력 > Change File Encoding 선택하거나 2. Reopen With Encoding > UTF-8 선택 추.. 2022. 7. 10.
헤어질 결심 ⭐️⭐️⭐️⭐️ 나에게 선물하려면 친절한 형사의 심장을 갖다주세요. 갖고싶네. 당신이 사랑한다고 말할 때 당신의 사랑이 끝났고 당신의 사랑이 끝났을 때 내 사랑이 시작됐다. 제가 언제 사랑한다고 했죠? 박찬욱 감독님 실물 영접 2022. 7. 10.
반응형