오류노트

Java/오류노트

[Java/오류노트] Solved - org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL

Spring Boot JPA 기반으로 프로젝트를 수행하는 도중에 발생하는 오류에 대해 알아보고 해결책을 알아봅니다. 1) 문제점 💡 문제점 - Spring Boot JPA를 테스트하는 도중에 application.properties 값을 spring.jpa.hibernate.ddl-auto= create로 해둔 상태에서 발생한 문제점이었습니다. 💡 오류메시지 - org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "drop table if exists xxxx" via JDBC Statement - 해당 문제는 하단의 오류에서 확인해 볼 수 있듯이 Cannot drop table 'tb_board' referenced..

Docker/오류노트

[Docker/오류노트] Solved - docker: Error response from daemon: error while creating mount source path xxx: xxx: operation not permitted.

해당 글에서는 Docker 이미지를 기반으로 Container를 띄우는 과정에서 발생하는 오류에 대해 해결 방법입니다. 1) 문제점 💡 문제점 - 이미지를 기반으로 vault를 컨테이너로 띄우려고 할 때 아래와 같은 오류가 발생하였습니다. docker: Error response from daemon: error while creating mount source path '/host_mnt/Users/lee/Desktop/workspace/vault/logs': mkdir /host_mnt/Users/lee/Desktop: operation not permitted. - 해당 오류는 Docker가 호스트 시스템의 특정 경로에 액세스 하려고 했지만, 해당 작업이 허용되지 않았음을 나타냅니다. - 이는 일반..

Docker/오류노트

[Docker/오류노트] Solved - Error response from daemon: manifest for vault:latest not found: manifest unknown: manifest unknown

해당 글에서는 Docker 이미지로 vault를 받는 도중에 발생한 오류를 해결하는 방법에 대해 알아봅니다. 1) 문제점 💡 문제점 - docker pull vault 명령어를 통해 docker로 vault 이미지를 받으려 할 때 아래와 같은 문제가 발생하였습니다. Error response from daemon: manifest for vault:latest not found: manifest unknown: manifest unknown 해당 문제는 vault:latest 버전을 찾을 수 없다는 오류입니다. # valut 이미지를 받습니다. $ docker pull vault 2) 해결방법 💡 해결방법 - 해결방법은 우선 Docker가 운영되고 있는지를 확인하고, latest 버전이 아닌 태그를 직접..

Java/오류노트

[Java/오류노트] Solved - Could not create plugin of type class org.apache.logging.log4j.core.async.AsyncLoggerConfig for element AsyncLogger: java.lang.NoClassDefFoundError: com/lmax/disruptor/EventFactory java.lang.NoClassDefFoundError: com/lmax/di..

해당 글에서는 Log4j2에서 비동기 로깅에 대해 설정하는 과정 중에 발생하는 오류에 대한 해결한 방법에 대해 공유합니다. 1) 문제점 💡 문제점 - Log4j2에서 ‘비동기 로깅’과 관련되어 테스트를 하는 중에 아래와 같은 문제가 발생하였습니다. Could not create plugin of type class org.apache.logging.log4j.core.async.AsyncLoggerConfig for element AsyncLogger: java.lang.NoClassDefFoundError: com/lmax/disruptor/EventFactory java.lang.NoClassDefFoundError: com/lmax/disruptor/EventFactory - 해당 문제는 Async..

Java/오류노트

[Java/오류노트] Solved - Annotation-specified bean name 'xxxController' for bean class [xxxController] conflicts with existing, non-compatible bean definition of same name and class [xxxController]

해당 글에서는 동일한 이름의 Controller를 생성하였을 때 발생하는 오류와 이에 대해 해결하는 방법에 대해 알아봅니다. 1) 문제점 💡 문제점 - 아래와 같은 문제가 발생하였습니다. Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'xxxController' for bean class [xxxController] conflicts with existing, non-compatible bean definition of same name and class [xxxController] - 해당 오류는 동일한 이름을 가진 두 개의 빈 정의가 서로 ..

Java/오류노트

[Java/오류노트] Solved - No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.2.1 was found.

해당 글에서는 Spring Boot 프로젝트를 새로 구성하고 빌드하는 과정에서 발생하는 오류에 대해서 확인하고 해결하는 방법에 대해 알아봅니다. 1) 문제점 💡 문제점 - 해당 문제가 발생하는 환경은 Spring Boot 3.2.1 버전을 최초 생성하여 서버를 빌드하는 과정에서 Gradle에서 발생하는 문제로 아래와 같은 문제점이 발생하였습니다. - 해당 문제점을 확인해보면 프로젝트의 구성이 java 8로 구성이 되어 있어서 java 17로 변경을 하는것을 권장한다는 문제였습니다. > Could not resolve all files for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-..

Java/오류노트

[Java/오류노트] SonarLint: integer number too large

해당 글에서는 integer number too large 오류에 대해 해결방법에 대해 알아봅니다. 1) 문제점: Integer number too large 1. Integer number too large 💡 Integer number too large - Java에서 정수 값이 표현 가능한 범위를 초과했을 때 발생하는 오류입니다. - int와 long은 정해진 비트 수로 값을 표현할 수 있습니다. 만약 이 비트 수를 초과하는 값을 사용하면 이 오류가 발생합니다. 💡 [참고] int(=Integer)와 long(=Long)의 최소/최대 범위입니다. 타입 최소 범위 최대 범위 int(=Integer) -2,147,483,648 +2,147,483,647 long(=Long) -9,223,372,036,..

React & React Native/오류노트

[RN/오류노트] Solved - Task :@react-native-firebase_analytics:copyReleaseJniLibsProjectAndLocalJars FAILED

해당 글에서는 React-native에서 firebase_analytics를 APK 파일을 구성하는 단계에서 발생하는 오류와 해결 방법에 대해 알아봅니다. 1) 문제점 💡 아래와 같은 문제가 발생하였습니다. - @react-native-firebase_analytics:copyReleaseJniLibsProjectAndLocalJars > Task :@react-native-firebase_analytics:copyReleaseJniLibsProjectAndLocalJars FAILED FAILURE: Build failed with an exception. * What went wrong: A problem was found with the configuration of task ':@react-nat..

React & React Native/오류노트

[RN/오류노트] Solved - .env 파일을 찾지 못하는 경우

해당 글에서는 react-native에서 발생하는 오류에 대한 해결방법에 대해 공유합니다 1) 문제점 💡 콘솔 상에 아래와 같이 .env 파일에 정의한 데이터를 불러오지 못하여 undefined 값으로 출력되고 있는 문제가 발생하였습니다. handleWebViewStateChange {"canGoBack": false, "canGoForward": false, "loading": false, "target": 139, "title": "", "url": ""} WARN Encountered an error loading page {"canGoBack": false, "canGoForward": false, "code": -2, "description": "net::ERR_NAME_NOT_RESOLVED"..

React & React Native/오류노트

[RN/오류노트] Solved - Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.

해당 글에서는 react-native에서 발생하는 오류에 대한 해결방법에 대해 공유합니다 1) 문제점 💡 아래와 같은 문제가 발생하였습니다 Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release. 2) 해결방법 시도한 해결 방법-1 : 포트포워딩 — 해결되지 않음 💡 adb reverse tcp:8081 tcp:8081 명령어는 안드로이드 디버깅 브리지(ADB)를 사용하여 포트 포워딩을 설정하는 명령입니다. 이 명령은 로컬 8081 포트의 트래픽을 장치..

adjh54
'오류노트' 태그의 글 목록