본문 바로가기

Backend

(4)
No enum constant com.google.firebase.ErrorCode.UNIMPLEMENTED firebase 푸시를 발송하는데 갑자기 대부분의 요청에 대해서 오류가 발생했다. java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: No enum constant com.google.firebase.ErrorCode.UNIMPLEMENTED java.lang.IllegalArgumentException: No enum constant com.google.firebase.ErrorCode.UNIMPLEMENTED · Issue #974 · firebase/firebHello, We are receiving IllegalArgumentException while calling com.google.firebase.messa..
Communications link failure MySQL 오류가 로그에 확인되었다.Connection com.mysql.jdbc.JDBC4Connection@6b8503b marked as broken because of SQLSTATE(08S01), ErrorCode(0)com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failureThe last packet successfully received from the server was 752,226 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago. 문제를 확인해 보니, 프로세스가 오래 걸려서 디비 업데..
@GetMapping에서 URL 경로 변수로 특수 문자를 처리 URL 경로 변수로 특수 문자를 처리할 때, 슬래시(/)는 기본적으로 경로 구분자로 사용되기 때문에 문제가 발생할 수 있습니다. 인코딩된 슬래시 (%2F)도 경로 구분자로 처리되어, 예기치 않은 400 에러가 발생할 수 있습니다. 이를 해결하기 위해 Spring에서 제공하는 방법 중 하나는 UrlPathHelper 설정을 수정하여 슬래시를 인코딩된 형태로 허용하도록 하는 것입니다.해결 방법:application.properties 또는 application.yml 파일에서 설정 추가:spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER 이 설정을 추가하면 Spring이 %2F와 같은 인코딩된 슬래시를 경로 변수로 인식할 수 있습니다. spring.mvc...
[Thymeleaf] Resource Versioning css, js 파일 수정 시 버저닝을 통해 브라우저 캐시 초기화할 필요없이 프론트 개발 및 테스트 application.yml 설정 추가 spring: web: resources: chain: strategy: content: enabled: true paths: /css/**, /js/** html 에서 사용법 개발자 도구로 결과 확인 https://stackoverflow.com/questions/48732894/spring-mvc-and-thymeleaf-resource-versioning Spring MVC and Thymeleaf Resource Versioning I am trying resource versioning with Spring Mvc 4.I use thymeleaf templat..