메뉴 건너뛰기

infra

[error] tomcat, python 오류 발생시

suritam92023.08.19 10:12조회 수 2댓글 0

    • 글자 크기

톰캣의 jdbc 연결 문제

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.

 

아무리 설정해도 안 된다.

 

톰캣 7.x 에서 그냥 8.5 설치해서 실행하니 된다.

 

파이썬에서 아래 오류시 3.11에서 아무리 해도 안되어 3.10으로 했더니 된다.

ImportError: No module named _sqlite3

 

결국 설정으로 안 될 것 같으면 새로운 버전으로 갈아 타라

 

https://techviewleo.com/how-to-install-python-on-centos-linux/

 

ModuleNotFoundError: No module named 'selenium'

pip3.10 install selenium

 

selenium.common.exceptions.NoSuchDriverException: Message: Unable to locate or obtain driver for chrome;

https://chromedriver.storage.googleapis.com/index.html?path=94.0.4606.41/

 

OSError: [Errno 8] Exec format error:

https://googlechromelabs.github.io/chrome-for-testing/#stable

https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/linux64/chromedriver-linux64.zip

 

cannot find Chrome binary

wget https://dl.google.com/linux/direct/ggle-chrome-stable_current_x86_64.rpm

sudo yum localinstall google-chrome-stable_current_x86_64.rpm

    • 글자 크기

댓글 달기

suritam9
2022.10.26 조회 22
lispro06
2017.07.08 조회 1532
박영식
2009.08.01 조회 5409
lispro06
2017.08.13 조회 2019
suritam9
2024.03.10 조회 1
lispro06
2017.10.01 조회 539
첨부 (0)
위로