본문 바로가기

Dev

(69)
공공데이터 API 요청시 SERVICE ERROR 공공데이터 API 통신을 하면서도 몇번 실수를 해서 남기는 블로그 SERVICE ERROR SERVICE_KEY_IS_NOT_REGISTERED_ERROR 30 이슈는 URL 인코딩 문제임돠. 공공데이터에서 일반 인증키(Decoding) 값을 다시 인코딩 해서 보내면 됨요. URI uri = UriComponentsBuilder.fromUriString(apiUrl) .queryParam("serviceKey", URLEncoder.encode(api_key_dec, "UTF-8")) // 서비스 키 .queryParam("pageNo", pageNo) // 추가 파라미터 .queryParam("numOfRows",numOfRows) // 추가 파라미터 .build(true).toUri(); 서비스키를 ..
sts svn error : Item is not readable svn: Item is not readable svn 설치 후 설정을 잘못하게 되면 위와 같은 에러를 볼수 있다. 너무 급하게 설치한 나머지.. svn 설정을 생각하지 못해서 sts에서 svn 이전 소스 파일을 보려고 하면 이런 메세지가 나온다;;; 이전 소스 보기외에 비교 하기해도 똑같은 오류가.. Item is not readable svn: Item is not readable Item is not readable svn: Unreadable path encountered; access denied 이유는 권한 문제였다. 1. svn 저장소의 위치 conf 파일로 이동 2. svnserve.conf 파일을 연다 vi svnserve.conf 3. svnserve.conf 내용중 [general] #수정전 anon-access = read; #수..
구글 Bard Api 오류!! SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'. 파이썬에서 구글 바드 API를 이용해서 잘 사용중에 있었는데... 갑자기... SNlM0e value not found. Double-check __Secure-1PSID value or pass it as token='xxxxx'. 메세지가.. 해결 방법은 크롬 새 시크릿 창 모드에서 재시작하고 다시 쿠키에서 값을 찾아서 넣어주면 처리가 된다!!!
springBoot - 내부톰캣 제외시 [class file for jakarta.servlet.ServletException not found] Feat.Gradle 스프링부트로 설정 후 내부 톰캣을 제외하니 에러가.. 아! springboot 3.1.4 에서 세팅 내용입니다. 내부 톰캣을 제외 하기 위해 Gradled에 톰캣 제외 문구 추가 implementation ('org.springframework.boot:spring-boot-starter-web') { exclude module: 'spring-boot-starter-tomcat' } 추가 후 빌드를 하면.. 오류가!!!! ServletInitializer.java:6: error: cannot access ServletException public class ServletInitializer extends SpringBootServletInitializer { ^ class file for jakart..
Kibana 실행시 A system error occurred: uv_os_gethostname returned ENOSYS[Feat. Win7 / Elastic Search 8.3.x / Kibana 8.3] ElasticSearch를 8.3.2를 설치 후에 Rest Api를 사용해도 돼지만.. kibana를 통해서 작업을 하기 위해 실행을 했는데... win7의 경우 서비스가 종료되서 환경 설정도 바꿔준후 실행을 하는데 오류가... D:\elastic_search\kibana-8.3.2\bin>kibana.bat node:os:68 throw new ERR_SYSTEM_ERROR(ctx); ^ SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented) at Object. (D:\elastic_search\kibana-8.3.2\node_modules\elas..
QueryDsl Unable to load class 'com.mysema.codegen.model.Type' springboot에서 querydsl 5.x를 실행하게 되면 아래와 같은 메세지가 나온다. Unable to load class 'com.mysema.codegen.model.Type'. This is an unexpected error. Please file a bug containing the idea.log file. 5.x가 되면서 추가 설정이 필요하게 되면서 나오는 오류 메세지이다. 해결 방법은 build.gradle에 설정을 추가 하면 됩니다. 아래의 부분을 추가 하면된다. configurations { compileOnly { extendsFrom annotationProcessor } querydsl.extendsFrom compileClasspath } 전체 설정 내용 def query..
Kibana 실행시 Node.js [Feat.Window7] 엘라스틱서치 설치 후 키바나를 실행하니.. Node.js 이슈가 있어서 싱해잉 안되는 상황이 발생..... Window7 기술서비스 종료(EOS)로 인해서 이슈가 발생하는걸로 알게 되었습니다. Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher. Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this check, but Node.js might not execute correctly. Any issues encountered on unsupported platforms will not be fixed. 처리 방법은 윈도우7에서 환경변수를 추가 하..
org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active[Feat. 8.3.x] 엘라스틱 서치를 8.3.3 버전을 윈도우에서 실행 하는데 오류가 나고 있었다.. 처음 실행 했을때 안난 에러가 다시 설치 후 실행하니 에러가.... org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:134) ~[ingest-geoip-8.3.3.jar:8.3.3] at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:27..