
Spring boot - 프리마커(freemaker) 설정
·
STUDY/SPRING
1.build.gradle에 의존성 추가 2.freemaker에서 사용할 설정 내용을 application.properties에 추가 3. index.ftl 파일 생성 (일반 file로 생성) 처음에는 텍스트 파일로 인식됨 jsp처럼 사용하기 위해 Eclipse Marketplace에서 jsp로 검색후 Eclipse Enterprise Java and Web Developer Tools 다운로드 sts 재시작 후 window > Preferences > file associations 검색 file types 에서 add > .ftl 추가 associated editors 에서 add > jsp Editor > apply and close window > Preferences > content types..