TIL/트러블슈팅 (9) 썸네일형 리스트형 [SpringBoot]비동기 Async는 프록시 기반 동작 👉 에러 비동기(@Async) 실행을 위한 TaskExecutor를 찾지 못하는 문제 NFO 13248 --- .s.a.AnnotationAsyncExecutionInterceptor : More than one TaskExecutor bean found within the context, and none is named 'taskExecutor'. Mark one of them as primary or name it 'taskExecutor' (possibly as an alias) in order to use it for async processing: [clientInboundChannelExecutor, clientOutboundChannelExecutor, brokerChannelExecu.. [Chocolatey] An existing Chocolatey installation was detected. 👉 에러경고: An existing Chocolatey installation was detected. Installation will not continue. This script will not overwrite existing installations. If there is no Chocolatey installation at 'C:\ProgramData\chocolatey', delete the folder and attempt the installation again. 👉 원인관리자 권한으로 실행해서 설치했는데도 위와 같이 오류가 뜬다면 이미 설치된 적이 있어 폴더를 삭제 후에 재설치 해보라고는 것이다. 해당 폴더 주소를 검색해서 찾아보면 폴더만 생성되고 내부에 비어 있는 상태일 것이다폴더 .. [SpringBoot] failed to lazily initialize a collection of role: could not initialize proxy - no Session 👉에러 상황 먼저 에러는 Post 목록 조회할 때 발생했습니다. Post와 Like는 1:N 양방향 연간관계를 맺고 있습니다. - Post 엔티티 구성 package com.duktown.domain.post.entity; import com.duktown.domain.BaseTimeEntity; import com.duktown.domain.comment.entity.Comment; import com.duktown.domain.like.entity.Like; import com.duktown.domain.user.entity.User; import com.duktown.global.type.Category; import lombok.AllArgsConstructor; import lombok.Buil.. [Node] getaddrinfo ENOTFOUND your-proxy-server 👉 에러 npm ERR! code ENOTFOUND npm ERR! syscall getaddrinfo npm ERR! errno ENOTFOUND npm ERR! network request to https://registry.npmjs.org/npm/-/npm-8.5.1.tgz failed, reason: getaddrinfo ENOTFOUND your-proxy-server npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! networ.. [SpringBoot] No acceptable representation 이슈 👉 요청 쿼리문은 제대로 실행되었지만 "status": 406,"error": "Not Acceptable" 발생 ResponseDto로 변환 중 클라이언트가 지원하지 않는 미디어 타입을 요청했을 때 발생합니다. 에러 메시지에 따르면, 클라이언트가 허용되지 않는 미디어 타입인 application/*+json을 요청한 것으로 보입니다. 클라이언트의 요청이 변경되지 않았거나 수정할 수 없는 경우, 서버에서 클라이언트의 요청을 처리할 수 있는 적절한 미디어 타입을 반환할 수 있는지 확인해야 합니다. 클라이언트의 요청을 처리할 수 있는 미디어 타입이 없는 경우, 서버에서 오류를 처리하고 적절한 오류 응답을 반환해야 합니다. 에러 👉[org.springframework.web.HttpMediaTypeNot.. [Docker] Docker failed to initialize 👉이슈1 :어제까지 잘 사용하던 도커 데스크탑이 갑자기 에러 메세지를 띄워준다. 👉 해결방법 C:\Users\user\AppData\Roaming\Docker 폴더 내 위치한 settings.json을 삭제합니다. settings.json을 삭제하면 아래와 같이 토커 설치 창이 나타납니다. Accept 버튼을 눌러서 다시 설정을 설치해주세요. 👉이슈2 : 도커데스크탑 설정이 다시 세팅 후 도커데스크탑을 실행하면 아래와 같이 Starting the Docker Engine창이 실행되는데, 만약 저처럼 무한 로딩을 진행한다면 이는 WSL error 때문입니다. 한참 기다리가다 결국 Unexpected WSL error 발생했습니다. 👉 해결방법 Windows 기능에서 Windows 하이퍼바이저 플랫폼이 켜져.. [Docker] denied: requested access to the resource is denied 이슈 👉 dockerhub에 도커 이미지 파일을 push하려는 과정에서 발생. docker login을 하면 denied: requested access to the resource is denied 이런 오류가 발생하지 않는데, 이상하게 로그인 성공으로 콘솔에 나와도 접근권한 문제 발생 에러 👉 denied: requested access to the resource is denied 해결 👉 1. 로그아웃 이후 다시 로그인 2. 도커 이미지명을 도커 허브 레포지토리명과 동일하게 명시,이때 계정명이 들어가야 함. 3. 구글 이메일로 도커 회원가입 한 계정에서 비밀번호 재설정 [스프링부트]query did not return a unique result 이슈 👉 org.springframework.dao.IncorrectResultSizeDataAccessException: query did not return a unique result: 2 jakarta.persistence.NonUniqueResultException: query did not return a unique result: 2 이것은 데이터베이스 쿼리가 예상대로 결과를 반환하지 않고, 유일한 결과가 아닌 둘 이상의 결과를 반환했음을 나타냅니다. 에러 👉 이 오류 메시지는 Spring Data JPA와 Hibernate를 사용하여 데이터베이스 쿼리를 실행하는 과정에서 발생한 예외 메시지입니다. 단일 결과가 예상되는 쿼리에서 둘 이상의 결과가 반환된 경우: 데이터베이스에서 특정 쿼리를 실.. 이전 1 2 다음