Notice
Recent Posts
Recent Comments
목록H2 (1)
송민준의 개발노트
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/RzYBE/btqLJV6In4A/ADYP2Rt5MK8B5bfnmpuk80/img.png)
1. pom.xml에 dependency 추가 com.h2database h2 runtime ---------*************----------------- 혹시나 security를 사용한다면 권한 설정을 해줘야하고 관리자만 적용할 수도 있겠지만 일단 누구든지 접근 가능하게 세팅해보겠다. @Configuration public class SecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests().antMatchers("/h2-console/**").permitAll(); http.csrf..
웹/Spring boot
2020. 10. 25. 21:43