Execution failed for task ':compileJava'Error: java: invalid source release: 16 spring initializr를 통해 스프링부트 프로젝트를 만들었음(빌드툴 : 그레이들)위의 에러 발생File -> Pr
스프링 컨테이너의 큰 역할 두가지는 '스프링 빈을 등록하는 것' 과 '의존관계 주입' 이라고 한다. 스프링 빈을 등록할 때는 객체를 생성해서 빈에 등록하는 것이라고 한다. 객체를 생성할때는 반드시 생성자가 실행된다. 이때 생성자를 통한 의존관계 주입이 일어난다고 한다.
캐싱기능 꺼두기, 수정사항이 있을떄 애플리케이션을 껐다 켜야하는 불편함 해소, 수정사항을 실시간으로 반영 등의 기능을 한다고 한다. 사용하는 방법은 다음과 같다.1.build.gradle에 의존성 추가Registry검색 후 compiler.automake.allow.w
th:object="${greeting}" declare object thymeleaf@ModelAttribute bound incoming form content to method parameter
<div th:replace="fragments/header :: header">...</div> fragments/header is a template name that we are referencing.
The initialisation of ApplicationEventPublisher doesn't happen OR will remain null, if you have created the CustomeEvent without the help of Bean (lik
자동으로 해주는건가? 이게 맞나? 이게 빌드툴인가? 이게 당대 최고의 빌드툴인가
absolute path vs relative pathmodel.addAttribute() 타임리프를 사용하는 뷰페이지에 객체 전달th:object="${greeting}" 객체를 사용함. setter를 통해 필드값 주입
참고