본문 바로가기

날리지

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException Spring : MySQL 연결 시도 시 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException 나올 때 아.. 에러를 제대로 캡쳐했어야했어...ㅜㅜ 하지만 아래 콘솔에 있는 내용으로 구글링해서 해결을 본 것이니 이정도 내용이면 충분할 듯 하다. 에러발생 당시 콘솔출력내용 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. WARN :.. 더보기
Eclipse 에서 gradle dependency가 안 보일 때. eclipse에서 gradle dependency가 안 보일 때,. You should use the gradle eclipse plugin. Add this to your build.gradle file: apply plugin: "eclipse" This will add eclipse related tasks to your build. By executing gradlew cleanEclipse eclipse 그 다음right-click the build.gradle file -> Gradle -> Refresh Dependencies. reference: https://stackoverflow.com/questions/38171471/eclipse-not-recognizing-gradle-depen.. 더보기
우분투에서 pptp vpn block 될 때 -A ufw-before-input -p 47 -j ACCEPT syslog에서 vpn 관련 로그가 ufw 에서 blocking 될 때에 위의 한 줄을 /etc/ufw/before.rules 의 # drop INVALID packets 다음 줄에 추가해주고 source 로 환경변수 반영한 다음, sudo ufw reload 하면정상으로 회복된다. 더보기
머신러닝 공부 순서 ... 투빅스 활동을 하면서 제가 공부했던 내용을 정리한 글입니다. 한동안 죽어있던 정보공유 페이지를 살리고자하는 투빅스 12기 김태한입니다!! 정규세션을 하면서 저는 통계가 부족한거같아요, 저는 수학이 부족한거같아요, 어떻게 공부하죠 이런 질문들을 많이 받았어서 이에대해 정말 미약하지만 힘이 되어드리고자 이렇게 글을 써봅니다. 저두 작년 7~8월 경에 머신러닝 공부를 처음 시작하였고, import pandas as pd를 처음 쳐보았던 입장으로써 가능한 제가 들어보고 읽어봤던 강의, 도서들을 위주로 적어보려고 합니다. 저의 색깔이 굉장히 많이 묻어있으니 취하실 것만 취해가시면 좋을 것 같습니다 :) 특히 제가 강추 하고자하는 정도를 ⋆개수로 옆에 달아두었습니다! 1) 유용한 사이트 https://www.kag.. 더보기
Pycharm에서 flask로 개발할 때, 포트 변경하는 방법 Pycharm에서 flask로 개발할 때, 포트 변경하는 방법 Additional options Parameters of the flask run command. --host – the IP address of the web server to run your Flask application on. The default value is '127.0.0.1'. To make your web server externally visible, use the '0.0.0.0' value for this parameter. --port – the port of the web server. The default value is 5000 or it is the port number set in the SERVER_NAM.. 더보기
Pycharm에서 Unresolved Reference 에러 문제 해결 Pycharm을 이용하여 Python 개발을 하다보면 from ** import ** 구문에서 에러 메시지가 뜰 때가 종종 있다. 강박증이 있는 나로서는 코딩하는 내내 이 에러를 보자니 어지간히 괴로운 게 아니다. 그래서 찾아봤다. 아래는 해결 방법이다.pycharm 2019.03버전 기준이다. 1. File - settings - Build,Excution,Deployment-Console-Python Console 아래에 Add Source roots to PYTHONPATH에 체크 2. File - settings - Project:project - ProjectStucture 클릭하면 우측에 프로젝트 소스트리가 보일 것이다. 에러가 나는 파이썬 패키지를 우클릭하고 sources를 해준다. 3. A.. 더보기