본문 바로가기
반응형
반응형

전체 글130

반응형
'org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter' is deprecated In Spring Security 5.7.0-M2 we deprecated the WebSecurityConfigurerAdapter 우선 deprecated 여도 항상 작동은 잘하지만 기분나빠서 변경해준다. before @Override protected void configure(HttpSecurity http) throws Exception { http.csrf().disable() //h2 .headers() .frameOptions() .sameOrigin() // 시큐리티는 기본적으로 세션을 사용 // 여기서는 세션을 사용하지 않기 때문에 세션 설정을 Stateless 로 설정 .and() .sessionManagement() .sessionCreationPolicy(SessionCreatio.. 2022. 7. 21.
pageHelper + springBoot + mybatis 오랜만에 mybatis 사용! pageHelper를 사용해보자! 약간 jpa page랑 비슷한느낌! gradle implementation group: 'com.github.pagehelper', name: 'pagehelper', version: '4.1.4' //Controller @GetMapping(value = "/getPageList") public PageInfo getPageList() throws Exception { PageHelper.startPage(1, 10); return new PageInfo(mapper.getMemberList()); } //mapper public interface MemberMapper { public Page getMemberList() throws E.. 2022. 7. 7.
could not open `C:\Program Files\Java\jre1.8.0_311\lib\amd64\jvm.cfg' 제어판에서 프로그램제거에서 java를 지워준다. 나같은경우는 java 1.8 -> java11로 변경하면서 이런일이 발생했다. 2022. 7. 7.
이 사이트에 연결할 수 없습니다. localhost 연결을 거부했습니다 와 나 개바본가... ㅋㅋㅋ server port 8080말고 다른거로 설정해노코 왜 안되는거지 하면서 삽질함ㅋㅋㅋ 다들 자기 포트번호 확인하세여... 2022. 6. 28.
반응형