전체 글 (291) 썸네일형 리스트형 [Spring Boot] 강의 들으면서 쫌쫌따리 더보기 https://youtu.be/z0EaPjF3pCQ 개발 툴 Spring-Boot-DevTools build만 하면 된다 최소한의 변경 부분만 바로 반영됨 패키징 상태에서 실행할 때 DevTools 의 기능을 무시해주기 때문에 배포시에 패키징에 굳이 뺄 필요가 없다 재기동의 메카니즘 : watcher 가 변경된 것을 감지한다. Spring Boot 자동 설정 Convention over Configuration 애플리케이션에서 설정한 bean 등록시킴 @ComponentScan @Component, @Service, @Controller, @Repository @Configuration @Bean 자동설정으로 제공하는 bean 등록 META-INF/spring.factories (밑에 설명) En.. [Spring Boot] 강의 들으면서 쫌쫌따리 Spring Boot Version - GA (General Availability) - RC (Release Candidate) - M (Milestone) - SNAPSHOT (개발 중) Metadata - 내 프로젝트 식별 Group, Artifact, Version Packaging Jar Java Archive , War(WEB-INF 로 패키징 -> 톰캣) Web Application Archive terminal intelliJ실행 projectname idea . build 를 위한 여러가지 방법 1. mvn spring-boot:run 스프링 부트 메이븐 플러그인 사용 2. main 클래스 실행 가장 노멀한 방법 (자바 애플리케이션 실행) IDE 사용 3. JAR 패키징 & java -j.. [mariaDB Mac] 설치 팁 https://mariadb.com/kb/en/installing-mariadb-on-macos-using-homebrew/ https://brew.sh/index_ko Homebrew The Missing Package Manager for macOS (or Linux). brew.sh 검색 $ brew search 패키지명 설치 $ brew install 패키지명 정보 $ brew info 패키지명 삭제 $ brew uninstall 패키지명 목록 $ brew list 업뎃 $ brew upgrade 패키지명 저장소 추가 $ brew tap homebrew/패키지명 저장소 삭제 $ brew untap homebrew/패키지명 링크 삭제 $ brew unlink 패키지명 mysql 이 설치되어 있는 경.. [Spring Security] WebSecurityConfig WebSecurityConfig.java @Configuration @EnableWebSecurity public class WebSecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .antMatchers("/", "/페이지1", "/페이지12").permitAll() .anyRequest().authenticated() .and() .formLogin() .loginPage("/login") .permitAll() .and() .logout() .logoutSuccessUrl("/페이지.. [Vue.js] Template Syntax (2) Directives Directives are special attributes with the v- prefix. Vue provides a number of built-in directives, including v-html and v-bind which we have introduced above. Directive attribute values are expected to be single JavaScript expressions (with the exception of v-for, v-on and v-slot, which will be discussed in their respective sections later). A directive's job is to reactively apply .. [Vue.js] Template Syntax (1) https://vuejs.org/guide/essentials/template-syntax.html Template Syntax | Vue.js vuejs.org Text Interpolation Message: {{ msg }} 기본형태 {{}} 텍스트 보간 msg 태그 (속성 변경때마다 업데이트 됨) Raw HTML HTML이 아닌 일반 텍스트로 전환 v-html Using text interpolation: {{ rawHtml }} Using v-html directive: v- {{ var a = 1 }} {{ if (ok) { return message } }} [Vue.js] What is Vue? https://vuejs.org/guide/introduction.html Introduction | Vue.js vuejs.org Vue 를 공부해봐야지 :b Vue (pronounced /vjuː/, like view) is a JavaScript framework for building user interfaces. It builds on top of standard HTML, CSS, and JavaScript and provides a declarative and component-based programming model that helps you efficiently develop user interfaces, be they simple or complex. 뷰는 자바스크림트 기반의 프레.. [Spring Exception] Hibernate Mapping Exception – Unknown Entity https://www.baeldung.com/hibernate-mappingexception-unknown-entity Exception 시리즈 마지막 ~! org.hibernate.MappingException: Unknown entity Hibernate와 Spring 및 Hibernate 환경 모두에 대한 알 수 없는 엔티티 문제 및 해결방법이다 Missing or Invalid @Entity Annotation 1. @Entity 주석이 누락된 엔티티 클래스의 경우 public class Foo implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; public Foo() { supe.. 이전 1 ··· 12 13 14 15 16 17 18 ··· 37 다음