problemnpx expo prebuildnpx expo run:ios무한 로딩 현상이 발생 되었다.solutionhttps://github.com/expo/expo/issues/29682 "Installing Cocoapods" even though it's already installed after `npx expo run:ios` · Issue #29682 · expo/expoSummary It happens sometimes only, everytime when I run npx expo run:ios I installed cocoapods using brew install cocoapods not with Ruby gems. (Not sure if that makes a difference)...
//JAVA11 로 교체echo 'export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home' >> ~/.zshrcsource ~/.zshrc # 적용java -version자바 17로 교체 해준 후 ngrider 를 재 실행 한다
Caused by: java.lang.NoSuchMethodError: 'java.lang.Object org.hibernate.ScrollableResults.get(int)'QueryDsl 의 , 그룹화하여 받을 수 있는 transform + GroupBy 사용시 SpringBoot 3.x 버전에서 나오는 에러이다.JPQLTemplates.DEFAULT 를 추가해주자.@Configurationclass QueryDSLConfig(val entityManager: EntityManager) { @Bean fun jpaQueryFactory(): JPAQueryFactory { return JPAQueryFactory(JPQLTemplates.DEFAULT,entityManager..
problemHttpMediaTypeNotAcceptableException : No acceptable representation406Post 메서드 에서 응답 헤더 불일치 에러가 발생했다응답도 잘 나오고 디버깅해도 서블릿단까지 가서 에러가 났다.solution문제의 코드를 보면import org.springframework.http.MediaType@PostMapping("/customer/board", consumes = [MediaType.MULTIPART_FORM_DATA_VALUE])fun register( req: ......., @RequestPart(value = "files", required = false) files : List?,): ResponseEntity { ..
problem이미지 호스팅서버로 s3 를 이용하고 있다.이미지 url 을 클라이언트로 넘겨주고, url 로 이미지를 조회하는데 권한오류가 뜬다 ..solutionCloud Front 설정https://us-east-1.console.aws.amazon.com/cloudfront/v4 https://us-east-1.console.aws.amazon.com/cloudfront/v4 us-east-1.console.aws.amazon.com우선 Cloud Front 설정을 해주어야 한다.배포생성 후 S3 를 선택한다. ( 나머지 설정은 기본값 ) S3 버킷 정책 설정자신의 버켓에 들어가 권한 -> 버킷정책 -> 편집 아래 구문을 추가해준다{ "Sid": "PublicReadGetObject", ..
problem필자는 맥북 M1 Pro (16G) 를 사용중이다intelliJ 를 사용하다 보면 메모리 점유율이 엄청나게 늘어나는 이슈를 발견 했다.무거운 프로젝트도 아닌데 그럴일인가 싶어서 검색 후 개선한 사항에 대해서 적어본다.solution인텔리제이 에서Cmd + Shift + A -> Action 탭에 choose 를 검색한다. Current 는 ~~~ Jcef 라고 되어 있을것이다.드롭다운 버튼을 눌러 동일버전의 (vanilla) JBR을 선택하면 된다.
problem깃허브 액션으로 ec2로 jar 를 복사 하는 과정에서 에러를 만났다.handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remainsolution아래 항목을 꼼꼼히 체크 해보자1. github -> Repository secrets 들 을 꼼꼼히 확인해준다sudo vi /etc/ssh/sshd_config# 아래 설정 활성화PubkeyAuthentication yes# 나온 후 sudo systemctl restart sshd 2. 공개키 서버( ec2 )에 추가cat ~/.ssh/github.pub >> ~/.ssh/authorized_keyschmod 6..