에러 50

var cannot be resolved to a type

var cannot be resolved to a type Java Spring 프로젝트를 진행하면서 생긴 에러이다. 아래의 HomeController.java:83을 보면 아무 이상도 없다. 이럴 경우에는 Java Path가 JDK를 인식하지 못하는 거일 수도 있습니다. Project를 우클릭 해준 뒤 "Build Path" -> "Configure Build Path..." 클릭 Library가 작동하지 않았네요. "Edit.."를 눌러 JDK를 설정해 줍니다. JDK를 설정해준 뒤 "Apply and close"를 눌러 저장합니다.

에러 2020.12.31

version 1.8.0_271 of the jvm is not suitable for this product. version 11 or greater is required

Eclipse 혹은 sts 최초 설치 시 해당 에러가 나올 수 있습니다. 해당 에러는 설치된 jdk 버전이 맞지 않아 발생한 에러이며 java를 맞추기 보단 Eclipse 버전을 맞추는 게 더 빠릅니다. Eclipse 혹은 sts 설정 파일을 열어줍니다. 10 Line, 15 Line의 Java, timeout 버전을 자신의 버전에 맞춰줍니다. 저장 후 실행하면 끝

에러 2020.12.13

ConnectionRefusedError: [Errno 10061] Connect call failed ('127.0.0.1', 6379) - channel layer 구현하기

ConnectionRefusedError: [Errno 10061] Connect call failed ('127.0.0.1', 6379) channel layer를 구현하다 생긴 에러입니다. 에러 전문 Traceback (most recent call last): File "", line 1, in File "C:\Users\kas23\Desktop\Project\chat_test\myvenv\lib\site-packages\asgiref\sync.py", line 139, in __call__ return call_result.result() File "C:\Users\kas23\AppData\Local\Programs\Python\Python38-32\lib\concurrent\futures\_ba..

에러 2020.11.03

error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/

pip install channels channels를 설치하며 생긴 에러이다. ...중략 building 'twisted.test.raiser' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command errored out with exit status 1: '..' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'...'"'"'; __file..

에러 2020.11.01

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

참고 : emessell.tistory.com/148 해당 사이트를 보며 해결하여 진행하였습니다. --- 에러 전문 : SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape selenium을 이용해 크롤링을 하는 중 발생한 에러 입니다. 문제의 코드 라인입니다. driver = webdriver.Chrome('C:\Users\kas23\Downloads\chromedriver.exe') 해결 1 : r을 붙여준다. driver = webdriver.Chrome(r'C:\Users\kas23\Downloads\chromedriver.exe') 문자열 앞에 ..

에러 2020.09.25

AttributeError: 'function' object has no attribute 'every'

python에서 Schedule를 테스트 하며 나온 에러입니다. 에러가 나온 코드 from schedule import * import schedule import time def schedule(): print("I'm working...") schedule.every(1).second.do(schedule) while True: schedule.run_pending() time.sleep(1) 에러 전문 Traceback (most recent call last): File "schedule.py", line 1, in from schedule import * File "C:\Users\kas23\Desktop\Project\algorithm\python\schedule.py", line 10, in..

에러 2020.09.24

warning: LF will be replaced by CRLF in README.md.

warning: LF will be replaced by CRLF in README.md. The file will have its original line endings in your working directory 발생 : git에 새로운 prject를 올리다가 문제가 생겼다. 원인 : 각 OS 마다 줄 바꿈의 문자열이 다르기 때문에 git에서 경고 메시지를 띄워주는 것이다. CRLF, CR, LF 총 세 가지가 있다. 해결 방법 : autocrlf 사용 git config --global core.autocrlf true 시스템 전체에서 사용을 하려면 --global을 넣어 주며 해당 프로젝트에서만 사용하려면 --global을 제거해 주면 된다. 궁금한 점 : LF (Line-Feed) 대표적으로 ..

에러 2020.09.19

git push error : fatal: 'origin' does not appear to be a git repository ...

노트북 여러대로 커밋을 하다 보니 (주기적 포멧도 진행) 해당 오류가 너무 많이나와 글로 남깁니다. fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 테스트 케이스 : pull 혹은 push 하며 발생 발생 원인 : 원인은 2대의 노트북으로 돌아가며 push와 pull을 하다 보니 생긴 오류로 추정 해결 방안 : 1. git remote -v 를 통하여 remote가 정상적으로 연결되어있는지 확인 git remote -v 저장되어있는 원..

에러 2020.09.17

File "....py", line 1SyntaxError: Non-ASCII character '\xed' in file ....py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

vscode로 *.py 프로그램을 python으로 실행 시킬때 생기는 오류 입니다. 해당 원인은 주석처리로 되어있는 한글을 못읽어 발생하는 오류인데요 # -*- coding: utf-8 =*= 이렇게 첫 줄에 # -*- coding: utf-8 =*=을 넣어주면 해결됩니다. (주석을 풀지 말아주세요)

에러 2020.09.12

pip3 install uwsgi 설치 에러 Failed building wheel for uwsgi

글 수정 예정 aws ec2를 사용하다 해당 에러가 나왔다 에러 전문 Collecting uwsgi Downloading https://files.pythonhosted.org/packages/c7/75/45234f7b441c59b1eefd31ba3d1041a7e3c89602af24488e2a22e11e7259/uWSGI-2.0.19.1.tar.gz (803kB) 100% |████████████████████████████████| 808kB 997kB/s Building wheels for collected packages: uwsgi Running setup.py bdist_wheel for uwsgi ... error Complete output from command /home/ubuntu/my..

에러 2020.09.01