전체 글

원인: 소셜 로그인 콜백 URI가 http://IP:8080으로 설정되어 있어서 쿠키 도메인이 IP로 심겨 쿠키 삭제 안 됨해결:1. 소셜 콜백 URI를 https://jam.it.kr로 변경 및 기존 ip 도메인 삭제2. Nginx 가상 호스트 설정 파일에 X-Forwarded-Proto 추가/etc/nginx/conf.d/jam.conflocation / { proxy_pass http://localhost:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; # 추가}- X-Forwarded-Proto: https N..
JPA를 이 프로젝트에 적용하는 중에 정말 알 수 없는 오류가 났다.....!VO를 엔티티로 변경하고 마이바티스를 JPA로 변경하면서 DAO를 삭제하고 리포지토리를 만들었다. 서버를 켰는데 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authProvider': Unsatisfied dependency expressed through field 'myUserDetailsService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean wit..
· 코딩/JPA
출처 : https://www.inflearn.com/course/ORM-JPA-Basic 자바 ORM 표준 JPA 프로그래밍 - 기본편 강의 - 인프런 회사땜에 매일 바쁜 와중에 학원이라도 다닐까 생각했는데 마침 JPA 강의가 생겨서 꿀 타이밍이네요. 저는 이 전에 JPA 책을 보고 공부 했었는데요 궁금했던 점, 업무에 적용하며 고민하고 해결하 www.inflearn.com 경로 표현식 .(점)을 찍어 객체 그래프를 탐색하는 것 상태 필드(state field): 단순히 값을 저장하기 위한 필드 연관 필드(association filed): 연관관계를 위한 필드 단일 값 연관 필드 : @ManyToOne, @OneToMany, 대상이 엔티티 컬렉션 값 연관 필드 : @OneToMany, @ManyToM..
----
----
수정중 1. WebSocketConfig 생성 WebSocket에 연결을 하기 위해 먼저 WebSocketConfig를 만들었습니다.package com.jam.client.chat.webSocket;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.web.socket.config.annotation.EnableWebSocket;import org.springframework.web.socket.config.annotation.WebSocketConfigurer;import org.springframework..
진리--
진리의 블로그