Recent posts

캘린더 전체프로세스

1 minute read

흐름 사용자가 캘린더 페이지 접속 JS에서 자동으로 오늘 날짜 보여주고 ajax로 오늘 날짜 컨트롤러에 전달 readCalendar 읽는 컨트롤러가 선택된 날짜를 파라미터로 /calendar에 전달 DB에서 to_do, ini에서 오늘 날짜 조회 뒤 맞는 데이터 s...

org.springframework.beans.factory.UnsatisfiedDependencyException

less than 1 minute read

전체 에러 코드 private final CalendarService calendarService;로 DB에서 조회하는 값을 리턴받아 view로 넘기려 하는데 변수가 만들어지지 않는다.. 이전에 다른 컨트롤러 파일에서는 calendarService가 정상적으로 생성이 되는데 Ca...

자바스크립트 에러

less than 1 minute read

문제 today = new Date(today.getFullYear(), today.getMonth() + 1, today.getDate()); console.log("first : "+first.getMonth()); console.log("monthList...

DP 알고리즘 스터디 1 백준 11053

1 minute read

DP 알고리즘 Dynamic Programming 알고리즘 수업 때 배웠는데.. 머리에 남는게 없다… 재귀(recursive)만 기억난다… 피보나치 수열을 풀 때 가장 기본적으로 if(n<=1){ return n; }else{ return f(n-1) + f(n-1);...