전체 글123 403 해결 https://velog.io/@jhbae0420/%EB%BD%80%EB%AA%A8%EB%8F%84%EB%A1%9C-%EB%A9%94%EC%9D%B4%ED%8A%B8-%EC%8A%A4%ED%94%84%EB%A7%81-%EC%8B%9C%ED%81%90%EB%A6%AC%ED%8B%B0%EC%9D%98-CSRF-%ED%95%84%ED%84%B0-%ED%95%B4%EC%A0%9C%EB%A5%BC-%ED%86%B5%ED%95%9C-403-Forbidden-%EC%97%90%EB%9F%AC-%ED%95%B4%EA%B2%B0 스프링 시큐리티의 CSRF 필터 해제를 통한 403 Forbidden 에러 해결 403 Forbidden 에러 발생과 CSRF 필터 해제를 통한 해결 velog.io SecurityConfig의.. 2024. 2. 18. Parameter 0 of constructor in { } required a bean of type { } that could not be found. @Controller, @Service 같은 어노테이션 빠뜨린 것 참고) [에러 해결] Parameter 0 of constructor in {###} required a bean of type '{###}' that could not be found. 2024. 2. 13. Controller와 Service에서의 함수명 규칙 https://cocobi.tistory.com/27 [Guide]스프링 네이밍 컨벤션(Coding convention) ▶ Controller - 컨트롤러 클래스 안에서 메서드 명을 작성 할 때는 아래와 같은 접미사를 붙인다. orderList() – 목록 조회 유형의 서비스 orderDetails() – 단 건 상세 조회 유형의 controller 메서드 orderSav cocobi.tistory.com https://week-year.tistory.com/131 스프링, 자바 Naming, Structure, Programming 규칙 한국어에도 경상도 사투리, 전라도 사투리가 있듯이, 프로그래밍 언어도 회사마다 그 회사의 사투리(컨벤션)이 있을 것이다. 나중에 회사에 들어가면 그 회사의 컨벤션에 .. 2024. 2. 12. 토큰 재발급 시 변수명 refresh 함수에서 token 엔티티는 ~~Token이라고 쓰고 해당 토큰의 값은 ~~TokenValue라고 쓰면 될 듯 2024. 2. 4. Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter] with root cause 회원가입을 마친 아이디, 비밀번호로 로그인을 하여 token 생성을 시도했는데 다음과 같은 error가 발생했다. Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter] with root cause implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359' 위 코드를 build.gradle의 dependencies에 추가해서 해결했다. 참고) NoClassDefFoundError dataty.. 2024. 1. 28. 쿡세이브 라벨링 2024. 1. 28. repository 선언 시 final 안 붙여서 삽질 참고) JPA Repository 호출 시 NullPointerException, Cannot invoke "repository.메소드명()" because "this.repository" is null 해결 방법 2024. 1. 28. java.lang.NullPointerException: Cannot invoke 참고) 인프런 관련 질문 2024. 1. 28. 이전 1 ··· 3 4 5 6 7 8 9 ··· 16 다음