목록error (5)
하루한줄 코딩일기
📃 포트번호 충돌으로 인한 Spring Boot 실행오류 Description: The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured. 👊 사용 중이던 포트 Kill 하기 이미 8080 포트를 사용하고 있기 때문에 발생하는 오류다. cmd에서 다음 명령어를 입력하여 기존 사용 중이던 포트를 kill 하면 된다. 1) netstat -ano | findstr 8080 명령어 실행 위 명령어를 통해 프로세스 번호를 확인한다. 2) taskkill /f /pid '프로세스번호' 해당 프로세스를 중단시킨다.
📃 'dict_values' object is not subscriptable 에러 해당 에러가 발생한 코드의 일부다. collections.Counter의 values() 중 특정 인덱스에 접근하고자 했을 때 오류가 발생했다. for i in range(len(id_list)): if id_list[i] in collections.Counter(result).keys(): id_list[i] = collections.Counter(result).values()[i]#오류 발생 지점 Traceback (most recent call last): File "C:\Users\14Z980-GA50K\Desktop\AA\AA\AA.py", line 38, in id_list[i] = collections.Cou..
📃 'int' object is not callable 에러 자릿수의 합 문제를 해결하던 중 작은 오류가 발생했다. digit_sum() 함수를 호출해 그 결과값을 'sum' 이라는 변수에 저장하고자 하는 과정에서 문제가 발생 한 것. def digit_sum(x): return sum(list(map(int,str(x)))) N = int(input()) arr = list(map(int, input().split())) max = -9999999 answer = 0 for i in arr: sum = digit_sum(i)#오류 발생 지점 if sum>max: max = sum answer = i print(answer) Traceback (most recent call last): File "C:\..
📃 Large files detected 에러 깃허브에 푸시 할 때 파일의 크기가 100MB가 넘어가면 발생하는 에러 remote: error: File xxx/build.bc is 113.44 MB; this exceeds GitHub's file size limit of 100.00 MB remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. 👊 이전 커밋들에서 해당 파일 제거하기 1) filter-branch remove 명령어 실행 git filter-branch --tree-filter 'rm -f xxx/build.bc' HEAD 이미 백업이..
📃 Copying assembly failed 에러 WebGL에서 PC, Mac & Linux Standalone으로 Switch Platform을 했더니 멀쩡했던 프로젝트에 이런 오류가 발생했다. [16:48:30] Copying assembly from 'Temp/Unity.ProBuilder.Editor.dll' to 'Library/ScriptAssemblies/Unity.ProBuilder.Editor.dll' failed 👊 Reimport Project Project 윈도우 마우스 우클릭 > Reimport 을 하면 해결된다.