error20 [SVN] An error occurred while accessing the repository entry 에러 메시지 An error occurred while accessing the repository entry 에러 원인 방화벽 포트 차단 문제 해결 방법 SVN처럼 외부 아이피 접근 시도 시 telnet 통해 본 PC의 IP가 차단되었는지 확인 가능 1. cmd 창 열고 하기 명령어 입력 telnet [IP주소] [포트번호] 2. 'telnet' 관련 설정 변경 'telnet'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다. 3. cmd 창에서 명령어 재입력 출처 : https://jfbta.tistory.com/40 2022. 5. 3. [DB] Database "mem:testdb" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-200] 90149/90149 에러메시지 Database "mem:testdb" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-200] 90149/90149 에러 원인 [원인 1] /h2-console 에서 jdbc:h2:mem:testdb 데이터 베이스 찾을 수 없음 or 데이터 베이스를 미리 생성(pre-create) 불가 or 원격 데이터 생성 불가 [원인 2] h2 버전 중 1.4.197 과 1.4.198 사이에서 대규모 업데이트 진행 ➡ 데이터 베이스 미리 생성 방지 설정됨 해결 방법 [방법 1] application.properties에서 spring.datasourc.. 2022. 4. 3. [Java] java.lang.Integer cannot be cast to java.lang.String 에러메시지 java.lang.Integer cannot be cast to java.lang.String 에러 원인 MyBatis에서 쿼리의 resultType="Map"일 때 Number(int) 타입 ➡ String으로 형변환 시도 시 에러 발생 String value = (String) map.get("count"); 해결 방법 형변환이 아닌, String 클래스의 String.valueOf(Object) 활용 String value = String.valueOf(map.get("count")); 2022. 3. 30. [Gradle] Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement 에러메시지 Caused by: org.hibernate.exception.SQLGrammarException: could not prepare statement 에러 원인 H2의 문법이 적용된 쿼리를 MySQL 버전으로 변경하기 위한 설정 도중 에러 발생 application.properties Spring Boot ver. 2.1.9까지는 적용되는 소스 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect 해결 방법 applilcation.properties 설정 변경 Spring Boot ver. 2.1.10 이후부터 적용되는 소스 spring.jpa.properties.hibernate.dialect=org.. 2022. 3. 28. [Gradle] Lombok: variable not initialized in the default constructor Lombok (롬복) Java 환경에서 어플리케이션 개발 시 보일러플레이트 코드를 제거하기 위해 사용 Lombok 어노테이션 사용 시, 컴파일될 때 해당 어노테이션의 기능들이 자동으로 생성됨 예시 getter, setter, constructor 자동 생성됨 @Getter @Setter @NoArgsConstructor public class User { private String name; private int age; } @NoArgsConstructor User 클래스에 대한 디폴트 생성자 자동 생성 @NoArgsConstructor public class User { private String name; private int age; /* public User() {} */ } @AllArgsCo.. 2022. 3. 25. [Gradle] 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인식되지 않습니다. 에러 메시지 gradlew : 'gradlew' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으 로 인식되지 않습니다. 이름이 정확한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다음 다시 시도하십시오. 위치 줄:1 문자:1 + gradlew -v + ~~~~~~~ + CategoryInfo : ObjectNotFound: (gradlew:String) [], CommandNotFoundExcepti on + FullyQualifiedErrorId : CommandNotFoundException Suggestion [3,General]: gradlew 명령이 현재 위치에 있지만 이 명령을 찾을 수 없습니다. Windo ws PowerShell은 기본적으로 현재 위.. 2022. 3. 25. [Gradle] Caused by: org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' failed to discover tests 에러 메시지 org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could not complete execution for Gradle Test Executor 4. at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.Deleg.. 2022. 3. 23. [Error] java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 에러 메시지 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 원인 Maven ➡ Update Project Configuration 실행 시 Maven 라이브러리 경로가 삭제됨 해결 방법 프로젝트 우클릭 ➡ Properties ➡ Deployment Assembly ➡ Add ➡ Java Build Path Entries 출처 : https://myblog.opendocs.co.kr/archives/1657 2022. 2. 28. [MyBatis] java.lang.NumberFormatException: For input string "F" 오류 소스 원인 '' 작은 따옴표 문제 작은 따옴표로 한 문자를 감싸면 숫자로 인식 ➡ 타입 에러 발생 문자열 비교 시 해당 문자열을 큰 따옴표로 감싸기 수정 소스 2022. 2. 18. [Java] cannot be resolved to a type 에러메시지 canont be resolved to a type 에러 원인 JDK 재설치 시 이전 프로젝트의 JDK 버전과 불일치해 발생하는 문제 해결 방법 JRE System Library (unbound) - 인식 오류 문제 해당 JRE 파일 삭제 후 재설정 해결 순서 에러 발생하는 프로젝트 우클릭 ➡ Build Path ➡ Configure Build Path JRE System Library (unbound) ➡ Remove Add Library ➡ JRE System Library ➡ Finish 2022. 2. 16. [Tomcat] The currently selected server type does not support remote hosts 에러 메시지 이클립스 or STS에서 톰캣 서버 생성 시 하기 에러 발생할 경우 The currently selected server type does not support remote hosts 해결 방법 Window ➡ Preferences ➡ Server ➡ Runtime Enviroment ➡ Add Tomcat ➡ 생성 출처 : https://cpdev.tistory.com/5 2022. 2. 9. [Server] java.net.ConnectException: Connection timed out: connect Connection timed out 보통 서버 방화벽이 막힐 때 발생하는 문제 Connection refused IP는 연결됐으나 Port가 연결되지 않았을 때 발생하는 문제 2022. 1. 24. 이전 1 2 다음