일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- websecurityconfiguration
- springboot
- bytebuddyinterceptor
- Swagger
- jsonignore
- java.lang.nosuchmethoderror
- Today
- Total
목록전체 글 (22)
NOT FOUND
배포된 환경이 HTTPS를 사용해야 한다면, http:// 대신 https://를 사용해 요청을 보내는 것이 필요할 수 있습니다. Swagger가 HTTPS로 실행되고 있다면 @OpenAPIDefinition( servers = { @Server(url = "https://개발서버.com", description = "개발 서버"), @Server(url = "http://localhost:8080", description = "로컬 서버") })

A problem occurred configuring root project 'newrrow-server'.> Could not resolve all files for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.1.2. Required by: project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.1.2 > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.1.2 w..

문제 설명 랜덤으로 폰켓몬이 담긴 배열이 들어옵니다. 폰켓몬의 종류는 번호로 매겨진다.[1,1,2,3] 이라면 폰켓몬의 종류는 3종류가 되고 4마리의 폰켓몬이 있는 것이다.들어온 배열의 사이즈를 N이라고 할 때, N/2 만큼의 폰켓몬을 선택할 수 있다.가장 많은 종류의 폰켓몬 종류를 선택해서 그 수를 세는 함수를 만들어라. 문제 설명말로 풀었을 때 조금 복잡하다.폰켓몬의 개념을 빼고 보면 더 쉬울 것 같다.배열의 숫자를 선택하는데, 배열사이즈/2 만큼의 숫자를 선택할 것이다.숫자는 중복되면 안된다. 중복되지 않는 한에서 가장 많은 숫자를 선택하면 된다. (추가: 문제에서는 N/2마리의 폰켓몬을 선택하는 방법 중, 가장 많은 종류의 폰켓몬을 선택하는 방법을 찾아, 그때의 폰켓몬 종류 번호의 개수를 ret..
아래 글 참고https://emgc.tistory.com/131 [Spring] 스프링의 CORS설정목적 CORS를 이해하여 서로 다른 출처간의 자원공유를 원활히 하기 위함 목차 CORS란 스프링의 CORS설정 스프링 시큐리티의 CORS설정 스프링의 CORS? 스프링 시큐리티의 CORS? 1. CORS란? CORS란Cross-Origin Reemgc.tistory.comAccess-Control-Expose-Headers를 해줘야한다. https://soobakba.tistory.com/30 axios로 파일 다운로드 및 Content-Disposition 정보 사용하기파일 다운로드 기능을 구현하면서 약간의 삽질을 하면서 애를 먹었는데 덕분에 새로운 사실들을 알게 되었다. 서버에서 ByteArray 값..
The HTTP response header [Content-Disposition] with value [attachment; filename="과제 제출.zip"] has been removed from the response because it is invalid java.lang.IllegalArgumentException: The Unicode character [과] at code point [44,284] cannot be encoded as it is outside the permitted range of 0 to 255 zip 파일 다운로드 중 StreamUtils.copy(fis, zipOut); 부분에서 에러가 발생했다. response 헤더 부분에서 한글을 사용해서 나는 에러였다. (..
org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [org.springframework.data.jpa.repository.query.AbstractJpaQuery$TupleConverter$TupleBackedMap] to type jpa에서 nativeQuery를 사용했을 때 참고한 글native query에서 count 사용 native query error
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "category" is null 만약 category 값이 null일 경우 아래와같이 비교하면 NPE가 발생한다.String이 아니기 때문에 equals 함수가 존재하지 않아서 그렇다.category.equals("ALL") 순서를 변경해주면 손쉽게 해결 가능하다."TEST".equals(category)

git clone 시 발생하는 에러. error: unable to create file 01. life/2024/블로그/브런치/기획자도 동시성에 대해 알아야 한다고요?.md: Invalid argument fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/' mac에서 허용되는 파일명이 window에서는 허용되지 않아 발생하는 문제였다. 나같은 경우 ?가 들어가 있어서 발생. ?를 삭제해주고 해결했다. https://youn..