본문 바로가기

전체 글

(111)
윈도우 nvm 버전 변경시 오류가!!! 프론트엔드쪽을 공부하려고 하다 보니.. node가 너무 오래된 버전이라....  nvm list를 통해서 업데이트까지 했는데...  버전 변경을 하는데 오류가...cmd에서 실행을 했는데... 한글도 깨지고... 이런 코드로 찾아보니... ㅎㅎcmd창을 관리자 모드에서 실행하지 않아서 문제가... 해결 방법은 cmd창 실행시 관리자 모드로 실행 후 nvm use 사용버전  실행하면 해결이 된다. ㅎㅎ
mysql5.6 timezone 설정 mysql 시스템을 보니 5.6이다 ㅜ.ㅜ 하... 세팅 내용을 보시 시스템 시간도 UTC고.. Asia timeZone도 없네;;; SET time_zone = 'Asia/Seoul'; 결과는 리눅스 명령어 단계에서 아래의 명령어 실행 mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql 이후 위의 명령어를 실행하면 처리가 된다.
apache tomcat 연동시 proxy ajp 연동시 html 안보인다면. 요즘은 많이 사용 안하고 있지만 이전 서비스에서 이용중이다 보니 proxy ajp 연동시 html 파일 로딩시 404가 나오는 경우가 있다. 이런 경우 apche에서 설정으로 인한 문제이다 요즘은 proxy 세팅시 ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ 이런식으로 많이 한다. 이런 경우 모든 처리를 tomcat에서 처리되게 된다... 이러면. html 파일도 tomcat을 타기 때문에 서비스 구서엥 따라 webapp에 index.html 파일이 있어도 접근을 할수가 없게 된다. RewriteEngine On RewriteCond %{REQUEST_FILENAME} \.(htm|html|xhtml|js|css|j..
공공데이터 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(); 서비스키를 ..
centOs7 python SSL오류 간만에 python을 centos7에 파이썬 3.12를 설치하고 나서 pip install을 하는 순간 SSL 모듈 오류가... 하... 아래와 같이 오류가!! pip install pymysql Defaulting to user installation because normal site-packages is not writeable WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after c..
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..