이클립스에서 새로 프로젝트 진행 하는데 메이븐에 설정된 라이브러리가 다운로드 안되는 상황 발생 자바 1.7버전 사용중이였음 1차적으로 프로젝트에서 우클릭 -> maven -> update project -> force update of snapshots/releases 해서 다운로드 된 놈들이 있었지만 안되는것들이 계속 존재 cmd에서 프로젝트 폴더로 이동 후 mvn clean compile 확인해 보니 Received fatal alert: protocol_version 어쩌구 저쩌구 에러가 확인됨 구글링 결과 최근 메이븐 연결이 tls1.2로 되야 하는데 java1.7은 tls1.0이 기본이라 프로 토콜 연결이 안되는 거였음 이클립스 설정 파일에 -Dhttps.protocols=TLSv1,TLSv1...
https://help.ubuntu.com/community/UFW 방화벽 설정 sudo ufw enable 방화벽 상태 확인 sudo ufw status verbose 방화벽 끄기sudo ufw disable53번 포트 허용sudo ufw allow 53tcp만 허용 sudo ufw allow 53/tcpudp만 허용sudo ufw allow 53/udp53번 포트 허용 안함sudo ufw deny 5353번 포트 tcp허용 안함sudo ufw deny 53/tcp53번 포트 udp허용 안함sudo ufw deny 53/udp방화벽 삭제sudo ufw delete deny 80/tcp
사이트란 사이트 다뒤지고 했는데도 계속 /usr/share/tomcat8/.keystore를 찾을수 없다는 에러가 떠서 하루 삽질끝에 찾음; 참고 사이트https://community.letsencrypt.org/t/using-lets-encrypt-with-tomcat/41082 1.certbot 설치 sudo apt-get updatesudo apt-get install software-properties-commonsudo add-apt-repository universesudo add-apt-repository ppa:certbot/certbotsudo apt-get update sudo apt-get install certbot python-certbot-apache 2. 인증서 생성(80포트로..
이번에 개발하나 하는데@Scheduled 부분이 두번씩 호출되는 상황이 발생 했다. 싱글톤으로 생성되는녀석이 두번씩 호출되서 이해가 안됐는데 프로젝트 내에 spring이랑 spring-security에서 task:annotation-driven 하는 설정 파일을 모두 읽어 들여서 spring 관 spring-security 두개의 컨텍스트에 등록이 되어서 두번씩 실행이 되었다. 그래서 Scheduled 설정 xml은 따로 빼내고 spring에서만 읽어들이게 수정하여 해결
오랜만에 홈브류로 mysql 설치 하고 실행을 했더니 Starting MySQL ./usr/local/Cellar/mysql/8.0.15/bin/mysqld_safe: line 674: /usr/local/var/mysql/MacBook-Pro.local.err: No such file or directory Logging to '/usr/local/var/mysql/MacBook-Pro.local.err'. /usr/local/Cellar/mysql/8.0.15/bin/mysqld_safe: line 144: /usr/local/var/mysql/MacBook-Pro.local.err: No such file or directory /usr/local/Cellar/mysql/8.0.15/bin/mysq..
개발하다 input을 select로 서로 변환 시켜줘야 하는 상황이 발생했다. 평소처럼 둘다 만들어서 show/hide하기에는 연관되는 작업들이 많아서 다른방법이 없을까 찾아보다 replaceWith 라는 기능이 있어서 포스팅 한다. 공식 api : http://api.jquery.com/replacewith/ 사용법은 공식 api에도 잘나와 있지만 1. $(변경될 element selector).replaceWith(변경될 element html); 2. $(변경될 element selector).replaceWith(function(){ return $('',attribute) }); ex ) $('#abc').replaceWith("M"); $('#abc').replaceWith(function()..
- Total
- Today
- Yesterday
- 자료형
- sprign security
- git log
- jquery
- intranet 설치방법
- java
- 몽고디비
- 스프링시큐리티
- 인테리어 시뮬레이터
- Spring
- cronexpression
- indexeddb
- Security
- 중복 실행
- springsecurity
- mongoDB
- getaddrinfo ENOTFOUND localhost
- array
- 2장요약
- remember-me
- Git
- javascript
- replaceWith
- errordocument
- git reflog
- GitHub
- fullcalendar
- yyyy-MM-dd
- 중복 호출
- xcrun