해결
-
[AWS EC2 오류] Failed to connect to your instance Error establishing SSH connection to your instance. 해결 방법서버 2023. 2. 22. 13:18
WinSCP에서도 연결이 되지만, aws 사이트 자체에서 인스턴스에 연결했을 때 다음과 같은 오류가 뜬다면, Failed to connect to your instance Error establishing SSH connection to your instance. Try again later. 아래와 같이 원격으로 접속한(WinSCP, putty 등) 콘솔창에 입력한다. sudo를 입력하지 않으면 설치가 되지 않을 수 있다. sudo는 관리자 권한을 획득하는 코드로, sudo와 함께 그 뒤의 ec2-instance-connect를 설치해준다. sudo apt-get install ec2-instance-connect 이후 aws에서 새로고침하면 잘 연결되는것을 확인할 수 있다. Reference http..
-
[flutter] 플러터 Cannot run with sound null safety, because the following dependenciesdon't support null safety 에러 해결하기앱 개발/플러터(Flutter) 2022. 7. 24. 03:50
플러터 코딩을 하다가 아래와 같이 Cannot run with sound null safety, because the following dependencies don't support null safety: 이하의 에러가 발생한다면, ( 어떻게 해결하는지에 대한 포스팅이다. 아래는 에러 전문이다.) Cannot run with sound null safety, because the following dependencies don't support null safety: - package:flutter_screenutil For solutions, see https://dart.dev/go/unsound-null-safety FAILURE: Build failed with an exception. * Wh..
-
[github] @github.com: Permission denied (publickey). 오류 해결 방법git 2022. 3. 17. 21:12
@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 와 같은 에러가 뜬다면, 아래와 같이 해결할 수 있다. https://maliceit.tistory.com/51 git permission denied (publickey) : git 명령어 에러 해결방법 git permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the cor..
-
[Java] constructor Class(data type) is already defined in class Class / method Method(data type) is already defined in class Class 오류 해결하기앱 개발/오류모음 - Java 2022. 1. 18. 11:48
생성자(constructor)를 오버로딩(overloading)할 때, 매개변수를 달리하여 오버로딩 할 수 있다. 하지만, 아래와 같이 매개변수를 받는 자료형이 그 종류와 개수가 동일할 경우에는 오류가 발생한다. 1. constructor Class(data type) is already defined in class Class 즉, 해당 data type을 가진 생성자가 이미 선언되었다는 뜻이다. 사람의 눈으로는 받는 매개변수의 이름이 다르기 때문에 다른 생성자로 보일지라도, 컴퓨터의 입장에서는 해당 Class로 객체를 생성할 때, 어떤 생성자를 가지고 생성해야하는지 판단하지 못하는 상황이 발생한다. 이 오류는 메소드를 선언할 때에도 똑같이 발생하는데, 아래와 같이 int형만 가진 method1 메소드..
-
[flutter] "Dart SDK is not configured" 해결 방법앱 개발/플러터(Flutter) 2021. 8. 29. 22:02
아래와 같이, Dart 파일에서 Dart SDK is not configured 라는 문구가 뜬다면, 1. Open Dart settings를 클릭한다. 윈도우 창에서 "환경"을 검색하면 시스템 환경 변수 편집을 켤 수 있는데, "시스템 환경 변수 편집" 내부의 path를 참고하여 flutter 폴더가 어디에 위치해 있는지를 알아낸다. 2. flutter 폴더가 어디에 있는지 알아낸다. 3. Enable Dart support for the project ... 를 클릭한 다음, 아래와 같이 flutter 폴더 이후의 주소 \bin\cache\dart-sdk까지 적어준다. 4. 이후 warning 이 뜨는데, 위와 같이 Project 'login_dice-master-master'을 클릭해주면 된다. 오..