본문 바로가기

Error50

[Oracle, QueryDsl] SQL Error: 17059, SQLState: 99999 내부 표기로 변환할 수 없습니다 SQL Error: 17059, SQLState: 99999 java.sql.SQLException: 내부 표기로 변환할 수 없습니다 at oracle.jdbc.driver.CharCommonAccessor.getInt(CharCommonAccessor.java:139) at oracle.jdbc.driver.T4CVarcharAccessor.getInt(T4CVarcharAccessor.java:503) ... 오류 내용에 해답이 있다. QueryDsl Select Query 는 나갔으나 변환에 실패했고, stackTrace 에 `getInt` 가 찍힌걸 보아하니 형변환에 실패한거니 select 절에 mapping 된 Entity 분석.. 원인: Entity 에서 Enum Field 에 `@Enumer.. 2022. 9. 23.
[ubuntu] Error: NJS-045: cannot load the oracledb add-on binary .../node_module/oracledb/lib/oracledb.js:46 throw new Error(nodbUtil.getErrorMessage('NJS-045'); Error: NJS-045: cannot load the oraacledb add-on binary at Object. (/...) Error: NJS-045: cannot load the oracledb add-on binary 개요 ubuntu 환경에서 oracle-instantclient 설치 후 oracle db 연결 시 해당 오류 발생 환경 node version: v8.11.4 ubuntu version: 20.04LTS oracle-instantclient version: 12.1.0 해결 oracle-instantcli.. 2022. 6. 17.
[ubuntu] Error: libmq11.so: cannot open shared object file: No such file or directory Error: libmq11.so: cannot open shared object file: No such file or directory 개요 : ubuntu 환경에서 oracle-instantclient 설치 후 db 붙는 로직에서 위와 같은 오류를 만났다. 해결 : oracle guide 에 나와있듯이 특정 환경변수를 설정해주면 된다. $ export LD_LIBRARY_PATH=/usr/lib/oracle/18.3/client64/lib:$LD_LIBRARY_PATH $ export PATH=/usr/lib/oracle/18.3/client64/bin:$PATH 2022. 6. 17.
could not target platform 'java se 11' using tool chain 'jdk 8 (1.8)' could not target platform 'java se 11' using tool chain 'jdk 8 (1.8)' gradlew AWS EC2 에 올린 인스턴스에 ssh 연결하여 테스트 코드를 돌렸는데, 위와 같은 오류를 만났다. [ec2-user@ip-...]$ ./gradlew test 오류 내용은 너무나도 명백해서 상황에 맞게, 편한 방법으로 수정하면 된다. JDK 11 문법을 사용하지 않은 레포지토리라면 target version 을 1.8 로 변경한다. JDK 11 문법을 사용하거나 11 버전으로 테스트를 돌리고 싶다면, JDK 11 로 버전을 올려주자. 1번 build.gradle 파일에서 아래 부분을 1.8 버전에 맞춰 수정하자. sourceCompatibility = 1.8 ta.. 2022. 5. 16.
[Gradle] Unable to find method ''java.lang.String org.gradle.api.artifacts.result.ComponentSelectionReason.getDescription()'' Unable to find method ''java.lang.String org.gradle.api.artifacts.result.ComponentSelectionReason.getDescription()''. Possible causes for this unexpected error include: Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network) The state of a Gradle build process (daemon) may be corrupt. Stoppi.. 2022. 2. 4.
[Thymeleaf] TemplateInputException: Error resolving template... org.thymeleaf.exceptions.TemplateInputException: Error resolving template [members/createMemberForm], template might not exist or might not be accessible by any of the configured Template Resolvers 타임리프를 사용하여 프로젝트를 개발하던 중에 위와 같은 오류를 만났다. 여기서, `members/createMemberForm` 파일이 없으면 당연히 발생하는 오류겠지만 보다시피 나는 `members` 경로에 `createMemberForm` 파일이 존재해서 문제가 되었다. 결국 이 문제는, IntelliJ 에서 파일(자체)을 복붙하면 간혹 발생할 수 있는.. 2021. 11. 9.