본문 바로가기
728x90

Programming/버그 일지13

이클립스 String cannot be resolved to a type 에러 해결 잘 되던 이클립스 main 문을 실행하려고 하니 갑자기 이런 에러가 난다.. Exception in thread "main" java.lang.Error: Unresolved compilation problems 그리고 밑에 나오는 String cannot be resolved to a type 1. 원인 다른 워크스페이스에서 import 해서 잘 쓰던 프로젝트인데 위와 같은 메세지가 뜨는 경우 대체로 프로젝트의 jdk 버전과 import한 시스템의 jdk버전이 달라서 생기는게 거의 90프로인듯 하다. 2. 해결 프로젝트 우클릭 - Build Path - Configure Build Path 선택 아마 아래 화면에서 JRE System Library 부분에 경고표시가 있을겁니다. 1) 경고 표시가 없으면.. 2019. 4. 9.
[mysql] can't connect to local mysql server through socket 'var/lib/mysql/mysql.sock'(2) 지난 포스팅은 cent os에 MariaDB 설치하는 것을 적어보았는데요 이렇게 설치하고 mysql -u root - p mysql Enter password: 입력을 하니 다음과 같은 에러가 나왔습니다. can't connect to local mysql server through socket 'var/lib/mysql/mysql.sock'(2) 진짜 이걸로만 구글링하면서 몇시간 넘게 고생했는데 아래 방법으로 해결하였습니다 yum list installed | grep mariadb 이렇게 해서 리스트중에 mariadb-server가 없으면 yum install mariadb-server 설치한 후 systemctl start mariadb 하면 됩니다. 저같은 경우에는 failed to start m.. 2019. 4. 3.
Putty 접속 에러[expected key exchange group packed from server] Putty 접속 시 Putty 치명적 에러 -expected key exchange group packet from server 에러가 뜬다면 Putty 설정에서 분류 - 접속 - SSH - 키 교환으로 이동 암호 알고리즘 선택 정책 순서를 바꿔준다. * 기존 순서 디피-헬만 그룹 교환 디피-헬만 그룹 14 디피-헬만 그룹 1 * 변경 순서 디피-헬만 그룹 14 디피-헬만 그룹 1 디피-헬만 그룹 교환 변경하면 접속이 잘 되는 걸 확인할 수 있다 2019. 4. 3.
"Uncaught TypeError: a.indexOf is not a function" error when opening new foundation project jQuery 로드할때 이런 형식으로 썼는데 1. 오류 나는 부분 $(window).load(function(){ ........ }); "Uncaught TypeError: a.indexOf is not a function" error when opening new foundation project 이런 에러가 남.... stackoverflow에서 찾아보니 이런 답변이 달렸고 나 또한 이걸로 해결함. This error might be caused by jquery event aliases like .load, .unload or .error deprecated since jQuery 1.8. Look for these aliases in your code and replace them with .on.. 2019. 4. 3.
728x90