묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결해외취업 ASP.NET Core 웹개발 기본 강좌
바인딩에 관하여.
Student클래스에서 겨우 Student객체의 Name메소드의 getter, setter를 작성했는데 다시 그걸 BindNever를통해 입력을 받지 않는 이유가 무엇인가요?? 경우에따라 취사 선택하여 데이터를 받기 위함인가요???
-
미해결레트로의 유니티 C# 게임 프로그래밍 에센스
안녕하세요. 다른 강의 계획 중이신건 없나요?
다름이 아니라 다른 강의 계획 중이신게 있나요? 자료구조, 알고리즘 강의 하시는것도 듣고 싶어요. 저희 대학 교수님들 보다 훨씬 더 잘 가르쳐주시는거같아요.. 강의 잘듣고 있습니다!
-
미해결스프링 프레임워크 핵심 기술
@Bean에 대하여
안녕하세요, @Bean에 대해 질문 드립니다.빈이란, 스프링 컨테이너에서 관리 당하는 객체 라는 개념으로 인지하고 있었는데요,객체면 클래스에만 빈이 설정될 수 있을 것 같은데함수에도 @Bean이 설정되는 것으로 보아 개념을 잘못 이해하고 있는지 궁금하여 질문 드립니다.감사합니다.
-
미해결홍정모의 따라하며 배우는 C++
[빌드 중지] 이전에 성공한 프로젝트로 재빌드 중
앞서 성공했다는 프로젝트에예제의 헤더파일과 cpp파일을 옮겨서재빌드했는데 아래처럼 외부참조 관련 메세지는 안 뜨는데1>Game2D.cpp1>d:.프로그래밍4-1. opengl2017_honglecture1opengl_x64_startgame2d.cpp(284): fatal error C1010: 미리 컴파일된 헤더를 찾는 동안 예기치 않은 파일의 끝이 나타났습니다. '#include "stdafx.h"'을(를) 소스에 추가하시겠습니까?1>main.cpp1>d:.프로그래밍4-1. opengl2017_honglecture1opengl_x64_startmain.cpp(25): fatal error C1010: 미리 컴파일된 헤더를 찾는 동안 예기치 않은 파일의 끝이 나타났습니다. '#include "stdafx.h"'을(를) 소스에 추가하시겠습니까?1>Timer.cpp1>d:.프로그래밍4-1. opengl2017_honglecture1opengl_x64_starttimer.cpp(34): fatal error C1010: 미리 컴파일된 헤더를 찾는 동안 예기치 않은 파일의 끝이 나타났습니다. '#include "stdafx.h"'을(를) 소스에 추가하시겠습니까?라고 뜨는데 해당 cpp마다 #include "stdafx.h"를 추가하면 되나요?
-
미해결C 프로그래밍 - 입문부터 게임 개발까지
srand 질문
srand(time(NULL));이 구문이 의미하는게 뭔가요??...강의에서는 말씀 하셨다고 했는데 이전 강의부터 쭉 들었지만 못본거 같아서요...
-
미해결홍정모의 게임 만들기 연습 문제 패키지
[라이브러리 경로 인식] 빌드 에러
저는 dll, 헤더파일 등을 경로로 잡고 했는데첫번째 삼각형 예제는 잘 되었는데요.include "stdafx.h"include "./GL/glew.h"include "./GL/freeglut.h"pragma comment(lib, "glew32.lib")pragma comment(lib, "freeglut.lib")예제파일로 받고 경로를 잡았는데엄청나게 에러가 많이 발생됩니다.1>DrawFunctions.obj : error LNK2019: __imp_glBegin 외부 기호(참조 위치: "void __cdecl jm::drawFilledBox(class jm::RGB const &,float const &,float const &)" (?drawFilledBox@jm@@YAXAEBVRGB@1@AEBM1@Z) 함수)에서 확인하지 못했습니다....1>D:.프로그래밍4-1. OpenGL2017_HONGGameDevPracticePackage20181206Chapter1Lecture1x64DebugLecture1.exe : fatal error LNK1120: 37개의 확인할 수 없는 외부 참조입니다.이거 꼭 vspkg로만 해결이 가능한가요? ㅠㅠ전공이 아니라서 궁금해서 글 남깁니다.
-
미해결자바 프로그래밍 입문 강좌 (renew ver.) - 초보부터 개발자 취업까지!!
이클립스에 들어가지지않아요..
이클립스를 들어가려고 더블클릭하면 에러가 뜨면서 열수 없다고 뜹니다 어떻게 해야할지 모르겠어요
-
미해결스프링 부트 개념과 활용
강좌 문서 자료 제공 가능하신가요?
강의하실때 사용하시는 구글독 문서 내용 공유 가능하신가요?
-
미해결디지털 포렌식 (Digital Forensic) 전문가 과정
autopsy
관리자 모드로 실행해도 마찬가지로 실행이 안되고 꺼지는 현상이 발생합니다.뭔가 잘못 설정된 것인 가요?
-
미해결나만의 포트폴리오 웹페이지 만들기
.navbar-toggler에서 height
class="navbar-toggler"는 a 태그라서 인라인 요소인에어떻게 height값을 가질 수 있나요?
-
미해결나만의 포트폴리오 웹페이지 만들기
overflow:hidden 역할에 대해서
.header-area > .navbar 에서overflow:hidden이 어떤 역할을 하는지 알려주실 수 있나요?이 부분을 주석처리해도 겉으로 보기에는 딱히 달라지는게 없기도 하고내용이 박스를 벗어났을 때 숨김처리 한다는 속성이여기서 어떻게 적용되는지 궁금합니다.
-
미해결쉽고 빠르게 끝내는 GO언어 프로그래밍 핵심 기초 입문 과정
atom package go-plus 설치시 검색안됨
atom package go-plus 설치하려고setting->install 메뉴에서 go-plus 검색하면아래 같은 메시지와 함께 패키지가 검색되지 않습니다.Searching for “ggo plus” failed.Hide output…self signed certificate in certificate chain
-
미해결자바 프로그래밍 입문 강좌 (renew ver.) - 초보부터 개발자 취업까지!!
Scanner에서 오류나는것을 찾았지만 그다음이 문제입니다
import로 Scaaner을 선언하는것 까지는 했습니다하지만 java에서 이 선언문을 인식하지 못합니다 무엇이 문제일까요?
-
미해결스프링 기반 REST API 개발
예제 에러 질문 드립니다.
강의를 여러번 돌려보아도 놓친 부분이 없는데 문제가 발생하였고여러가지를 손보아도 해결이 되지않아 질문 드립니다ㅠㅠ첫번째 예제 실행시 /docs/index.html 로 접속하면 로그인 페이지로 이동이 됩니다@Overridepublic void configure(WebSecurity web) throws Exception { web.ignoring().mvcMatchers("/docs/index.html"); web.ignoring().requestMatchers(PathRequest.toStaticResources().atCommonLocations());}org.springframework.security.access.AccessDeniedException: Access is deniedat org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:84) ~[spring-security-core-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:233) ~[spring-security-core-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:124) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) ~[spring-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) ~[spring-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:206) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) ~[spring-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) ~[spring-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) ~[spring-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) ~[spring-security-web-5.1.3.RELEASE.jar:5.1.3.RELEASE]at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) ~[spring-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) ~[spring-web-5.1.4.RELEASE.jar:5.1.4.RELEASE]at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:394) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:253) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:175) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na]at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na]at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.14.jar:9.0.14]at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]2019-02-26 23:18:33.044 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.util.matcher.AndRequestMatcher : Trying to match using Ant [pattern='/', GET]2019-02-26 23:18:33.045 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.matcher.AntPathRequestMatcher : Request '/error' matched by universal pattern '/'2019-02-26 23:18:33.045 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.util.matcher.AndRequestMatcher : Trying to match using NegatedRequestMatcher [requestMatcher=Ant [pattern='/*/favicon.']]2019-02-26 23:18:33.045 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/error'; against '//favicon.'2019-02-26 23:18:33.045 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.matcher.NegatedRequestMatcher : matches = true2019-02-26 23:18:33.045 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.util.matcher.AndRequestMatcher : Trying to match using NegatedRequestMatcher [requestMatcher=MediaTypeRequestMatcher [contentNegotiationStrategy=org.springframework.web.accept.ContentNegotiationManager@5020e5ab, matchingMediaTypes=[application/json], useEquals=false, ignoredMediaTypes=[/]]]2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : httpRequestMediaTypes=[text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, /;q=0.8]2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Processing text/html2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : application/json .isCompatibleWith text/html = false2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Processing application/xhtml+xml2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : application/json .isCompatibleWith application/xhtml+xml = false2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Processing image/webp2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : application/json .isCompatibleWith image/webp = false2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Processing image/apng2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : application/json .isCompatibleWith image/apng = false2019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Processing application/xml;q=0.92019-02-26 23:18:33.046 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : application/json .isCompatibleWith application/xml;q=0.9 = false2019-02-26 23:18:33.047 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Processing /;q=0.82019-02-26 23:18:33.047 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Ignoring2019-02-26 23:18:33.047 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Did not match any media types2019-02-26 23:18:33.047 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.matcher.NegatedRequestMatcher : matches = true2019-02-26 23:18:33.047 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.util.matcher.AndRequestMatcher : Trying to match using NegatedRequestMatcher [requestMatcher=RequestHeaderRequestMatcher [expectedHeaderName=X-Requested-With, expectedHeaderValue=XMLHttpRequest]]2019-02-26 23:18:33.047 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.matcher.NegatedRequestMatcher : matches = true2019-02-26 23:18:33.047 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.util.matcher.AndRequestMatcher : All requestMatchers returned true2019-02-26 23:18:33.585 WARN 15076 --- [nio-8080-exec-1] o.a.c.util.SessionIdGeneratorBase : Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [522] milliseconds.2019-02-26 23:18:33.587 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.s.HttpSessionRequestCache : DefaultSavedRequest added to Session: DefaultSavedRequest[http://localhost:8080/error]2019-02-26 23:18:33.587 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.a.ExceptionTranslationFilter : Calling Authentication entry point.2019-02-26 23:18:33.587 DEBUG 15076 --- [nio-8080-exec-1] s.w.a.DelegatingAuthenticationEntryPoint : Trying to match using AndRequestMatcher [requestMatchers=[NegatedRequestMatcher [requestMatcher=RequestHeaderRequestMatcher [expectedHeaderName=X-Requested-With, expectedHeaderValue=XMLHttpRequest]], MediaTypeRequestMatcher [contentNegotiationStrategy=org.springframework.web.accept.ContentNegotiationManager@5020e5ab, matchingMediaTypes=[application/xhtml+xml, image/, text/html, text/plain], useEquals=false, ignoredMediaTypes=[/]]]]2019-02-26 23:18:33.587 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.util.matcher.AndRequestMatcher : Trying to match using NegatedRequestMatcher [requestMatcher=RequestHeaderRequestMatcher [expectedHeaderName=X-Requested-With, expectedHeaderValue=XMLHttpRequest]]2019-02-26 23:18:33.587 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.matcher.NegatedRequestMatcher : matches = true2019-02-26 23:18:33.587 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.util.matcher.AndRequestMatcher : Trying to match using MediaTypeRequestMatcher [contentNegotiationStrategy=org.springframework.web.accept.ContentNegotiationManager@5020e5ab, matchingMediaTypes=[application/xhtml+xml, image/, text/html, text/plain], useEquals=false, ignoredMediaTypes=[/]]2019-02-26 23:18:33.587 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : httpRequestMediaTypes=[text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, /;q=0.8]2019-02-26 23:18:33.587 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : Processing text/html2019-02-26 23:18:33.588 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : application/xhtml+xml .isCompatibleWith text/html = false2019-02-26 23:18:33.588 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : image/ .isCompatibleWith text/html = false2019-02-26 23:18:33.588 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.u.m.MediaTypeRequestMatcher : text/html .isCompatibleWith text/html = true2019-02-26 23:18:33.588 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.w.util.matcher.AndRequestMatcher : All requestMatchers returned true2019-02-26 23:18:33.588 DEBUG 15076 --- [nio-8080-exec-1] s.w.a.DelegatingAuthenticationEntryPoint : Match found! Executing org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint@4abfa2ff2019-02-26 23:18:33.589 DEBUG 15076 --- [nio-8080-exec-1] o.s.s.web.DefaultRedirectStrategy : Redirecting to 'http://localhost:8080/login'2019-02-26 23:18:33.589 DEBUG 15076 --- [nio-8080-exec-1] w.c.HttpSessionSecurityContextRepository : SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.2019-02-26 23:18:33.591 DEBUG 15076 --- [nio-8080-exec-1] s.s.w.c.SecurityContextPersistenceFilter : SecurityContextHolder now cleared, as request processing completed2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/css/']2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/login'; against '/css/'2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/js/']2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/login'; against '/js/'2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/images/']2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/login'; against '/images/'2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='/webjars/']2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/login'; against '/webjars/'2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : Trying to match using Ant [pattern='//favicon.ico']2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Checking match of request : '/login'; against '/**/favicon.ico'2019-02-26 23:18:33.602 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.web.util.matcher.OrRequestMatcher : No matches found2019-02-26 23:18:33.603 DEBUG 15076 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /login at position 1 of 15 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'2019-02-26 23:18:33.604 DEBUG 15076 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /login at position 2 of 15 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'2019-02-26 23:18:33.604 DEBUG 15076 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : HttpSession returned null object for SPRING_SECURITY_CONTEXT2019-02-26 23:18:33.604 DEBUG 15076 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : No SecurityContext was available from the HttpSession: org.apache.catalina.session.StandardSessionFacade@63c5180d. A new one will be created.2019-02-26 23:18:33.604 DEBUG 15076 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /login at position 3 of 15 in additional filter chain; firing Filter: 'HeaderWriterFilter'2019-02-26 23:18:33.605 DEBUG 15076 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /login at position 4 of 15 in additional filter chain; firing Filter: 'CsrfFilter'2019-02-26 23:18:33.607 DEBUG 15076 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /login at position 5 of 15 in additional filter chain; firing Filter: 'LogoutFilter'2019-02-26 23:18:33.607 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /login' doesn't match 'POST /logout'2019-02-26 23:18:33.607 DEBUG 15076 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /login at position 6 of 15 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter'2019-02-26 23:18:33.607 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /login' doesn't match 'POST /login'2019-02-26 23:18:33.607 DEBUG 15076 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /login at position 7 of 15 in additional filter chain; firing Filter: 'DefaultLoginPageGeneratingFilter'2019-02-26 23:18:33.610 DEBUG 15076 --- [nio-8080-exec-2] o.s.s.w.header.writers.HstsHeaderWriter : Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@5cbf4d4c2019-02-26 23:18:33.611 DEBUG 15076 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.2019-02-26 23:18:33.611 DEBUG 15076 --- [nio-8080-exec-2] s.s.w.c.SecurityContextPersistenceFilter : SecurityContextHolder now cleared, as request processing completed2번째 예제로 /docs/index.html에 접속시에는 404 에러가 발생합니다@Overrideprotected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .mvcMatchers("/docs/index.html").anonymous() .requestMatchers(PathRequest.toStaticResources().atCommonLocations()).anonymous();} . ____ _ __ _ _/\ / ' () _ ( ( ) | ' | '| | ' / ` | \/ )| |)| | | | | || (| | ) ) ) )' |__| .|| ||| |, | / / / /=========||==============|/=///_/:: Spring Boot :: (v2.1.2.RELEASE)2019-02-26 23:23:31.800 INFO 8696 --- [ main] n.s.demoinfleanrestapi.DemoApplication : Starting DemoApplication on DESKTOP-822PETH with PID 8696 (D:intel-springdemo-inflean-rest-apitargetclasses started by sangjin in D:intel-springdemo-inflean-rest-api)2019-02-26 23:23:31.804 INFO 8696 --- [ main] n.s.demoinfleanrestapi.DemoApplication : No active profile set, falling back to default profiles: default2019-02-26 23:23:34.220 INFO 8696 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.2019-02-26 23:23:34.573 INFO 8696 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 303ms. Found 2 repository interfaces.2019-02-26 23:23:35.201 INFO 8696 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$b320f992] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2019-02-26 23:23:35.245 INFO 8696 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.hateoas.config.HateoasConfiguration' of type [org.springframework.hateoas.config.HateoasConfiguration$$EnhancerBySpringCGLIB$$32a146c4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2019-02-26 23:23:36.086 INFO 8696 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)2019-02-26 23:23:36.122 INFO 8696 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]2019-02-26 23:23:36.122 INFO 8696 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.14]2019-02-26 23:23:36.134 INFO 8696 --- [ main] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:Program FilesJavajdk-11.0.2bin;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;D:appsangjinproduct12.2.0dbhome_1bin;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;"C:C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32;";C:Program FilesJavajdk-11.0.2bin;C:Program Files (x86)Windows Kits8.1Windows Performance Toolkit;C:Program FilesMicrosoft SQL Server110ToolsBinn;C:Program Files (x86)Microsoft SDKsTypeScript1.0;C:Program FilesMicrosoft SQL Server120ToolsBinn;C:Program FilesMySQLMySQL Utilities 1.6;C:WINDOWSsystem32;C:WINDOWSSystem32WindowsPowerShellv1.0;C:WINDOWSSystem32OpenSSH;C:Program FilesGitcmd;C:UserssangjinAppDataLocalMicrosoftWindowsApps;D:Program FilesJetBrainsIntelliJ IDEA Community Edition 2018.3.1bin;;C:Program FilesJavajdk-11.0.2bin;;.]2019-02-26 23:23:36.449 INFO 8696 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext2019-02-26 23:23:36.449 INFO 8696 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 4553 ms2019-02-26 23:23:36.673 INFO 8696 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...2019-02-26 23:23:36.833 INFO 8696 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.2019-02-26 23:23:36.901 INFO 8696 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default...]2019-02-26 23:23:37.002 INFO 8696 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.3.7.Final}2019-02-26 23:23:37.003 INFO 8696 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found2019-02-26 23:23:37.263 INFO 8696 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}2019-02-26 23:23:37.454 INFO 8696 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect2019-02-26 23:23:38.364 DEBUG 8696 --- [ main] org.hibernate.SQL : drop table if exists account2019-02-26 23:23:38.373 DEBUG 8696 --- [ main] org.hibernate.SQL : drop table if exists account_roles2019-02-26 23:23:38.376 DEBUG 8696 --- [ main] org.hibernate.SQL : drop table if exists event2019-02-26 23:23:38.379 DEBUG 8696 --- [ main] org.hibernate.SQL : drop table if exists hibernate_sequence2019-02-26 23:23:38.389 DEBUG 8696 --- [ main] org.hibernate.SQL : create table account ( id integer not null, email varchar(255), password varchar(255), primary key (id)) engine=MyISAM2019-02-26 23:23:38.403 DEBUG 8696 --- [ main] org.hibernate.SQL : create table account_roles ( account_id integer not null, roles varchar(255)) engine=MyISAM2019-02-26 23:23:38.415 DEBUG 8696 --- [ main] org.hibernate.SQL : create table event ( id integer not null, base_price integer not null, begin_enrollment_date_time datetime, begin_event_date_time datetime, close_enrollment_date_time datetime, description varchar(255), end_event_date_time datetime, event_status varchar(255), free bit not null, limit_of_enrollment integer not null, location varchar(255), max_price integer not null, name varchar(255), offline bit not null, manager_id integer, primary key (id)) engine=MyISAM2019-02-26 23:23:38.427 DEBUG 8696 --- [ main] org.hibernate.SQL : create table hibernate_sequence ( next_val bigint) engine=MyISAM2019-02-26 23:23:38.439 DEBUG 8696 --- [ main] org.hibernate.SQL : insert into hibernate_sequence values ( 1 )2019-02-26 23:23:38.441 DEBUG 8696 --- [ main] org.hibernate.SQL : insert into hibernate_sequence values ( 1 )2019-02-26 23:23:38.442 DEBUG 8696 --- [ main] org.hibernate.SQL : alter table account_roles add constraint FKtp61eta5i06bug3w1qr6286uf foreign key (account_id) references account (id)2019-02-26 23:23:38.463 DEBUG 8696 --- [ main] org.hibernate.SQL : alter table event add constraint FKphlyw4y37tcvehs0e107b93cn foreign key (manager_id) references account (id)2019-02-26 23:23:38.489 INFO 8696 --- [ main] o.h.t.schema.internal.SchemaCreatorImpl : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@25765a49'2019-02-26 23:23:38.491 INFO 8696 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'2019-02-26 23:23:39.205 WARN 8696 --- [ main] aWebConfiguration$JpaWebMvcConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning2019-02-26 23:23:39.338 DEBUG 8696 --- [ main] edFilterInvocationSecurityMetadataSource : Adding web access control expression 'anonymous', for Mvc [pattern='/docs/index.html']2019-02-26 23:23:39.339 DEBUG 8696 --- [ main] edFilterInvocationSecurityMetadataSource : Adding web access control expression 'anonymous', for org.springframework.boot.autoconfigure.security.servlet.StaticResourceRequest$StaticResourceRequestMatcher@4113d9ab2019-02-26 23:23:39.344 DEBUG 8696 --- [ main] o.s.s.w.a.i.FilterSecurityInterceptor : Validated configuration attributes2019-02-26 23:23:39.345 DEBUG 8696 --- [ main] o.s.s.w.a.i.FilterSecurityInterceptor : Validated configuration attributes2019-02-26 23:23:39.348 INFO 8696 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@347f8029, org.springframework.security.web.context.SecurityContextPersistenceFilter@4ed19540, org.springframework.security.web.header.HeaderWriterFilter@73230721, org.springframework.security.web.csrf.CsrfFilter@4e210016, org.springframework.security.web.authentication.logout.LogoutFilter@7d7f966f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@322eb1a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@cce92b5, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3f78a5ed, org.springframework.security.web.session.SessionManagementFilter@62264d4f, org.springframework.security.web.access.ExceptionTranslationFilter@4abfa2ff, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@384f0e32]2019-02-26 23:23:39.606 INFO 8696 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'2019-02-26 23:23:40.510 INFO 8696 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''2019-02-26 23:23:40.513 INFO 8696 --- [ main] n.s.demoinfleanrestapi.DemoApplication : Started DemoApplication in 9.558 seconds (JVM running for 10.686)2019-02-26 23:23:40.661 INFO 8696 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'2019-02-26 23:23:40.661 INFO 8696 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'2019-02-26 23:23:40.671 INFO 8696 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 10 ms2019-02-26 23:23:40.682 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 1 of 11 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'2019-02-26 23:23:40.684 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 2 of 11 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'2019-02-26 23:23:40.684 DEBUG 8696 --- [nio-8080-exec-1] w.c.HttpSessionSecurityContextRepository : No HttpSession currently exists2019-02-26 23:23:40.684 DEBUG 8696 --- [nio-8080-exec-1] w.c.HttpSessionSecurityContextRepository : No SecurityContext was available from the HttpSession: null. A new one will be created.2019-02-26 23:23:40.686 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 3 of 11 in additional filter chain; firing Filter: 'HeaderWriterFilter'2019-02-26 23:23:40.687 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 4 of 11 in additional filter chain; firing Filter: 'CsrfFilter'2019-02-26 23:23:40.688 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 5 of 11 in additional filter chain; firing Filter: 'LogoutFilter'2019-02-26 23:23:40.689 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /docs/index.html' doesn't match 'POST /logout'2019-02-26 23:23:40.689 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 6 of 11 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'2019-02-26 23:23:40.689 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.s.HttpSessionRequestCache : saved request doesn't match2019-02-26 23:23:40.689 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 7 of 11 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'2019-02-26 23:23:40.690 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 8 of 11 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'2019-02-26 23:23:40.692 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.a.AnonymousAuthenticationFilter : Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@6332191e: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'2019-02-26 23:23:40.692 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 9 of 11 in additional filter chain; firing Filter: 'SessionManagementFilter'2019-02-26 23:23:40.692 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.session.SessionManagementFilter : Requested session ID FBA1E30ACC405B91BAD285151F88F495 is invalid.2019-02-26 23:23:40.692 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 10 of 11 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'2019-02-26 23:23:40.692 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html at position 11 of 11 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'2019-02-26 23:23:40.702 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.a.i.FilterSecurityInterceptor : Secure object: FilterInvocation: URL: /docs/index.html; Attributes: [anonymous]2019-02-26 23:23:40.703 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.a.i.FilterSecurityInterceptor : Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@6332191e: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS2019-02-26 23:23:40.709 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.access.vote.AffirmativeBased : Voter: org.springframework.security.web.access.expression.WebExpressionVoter@2bccb588, returned: 12019-02-26 23:23:40.709 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.a.i.FilterSecurityInterceptor : Authorization successful2019-02-26 23:23:40.709 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.a.i.FilterSecurityInterceptor : RunAsManager did not change Authentication object2019-02-26 23:23:40.709 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /docs/index.html reached end of additional filter chain; proceeding with original chain2019-02-26 23:23:40.725 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.header.writers.HstsHeaderWriter : Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@151c286f2019-02-26 23:23:40.725 DEBUG 8696 --- [nio-8080-exec-1] w.c.HttpSessionSecurityContextRepository : SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.2019-02-26 23:23:40.726 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.a.ExceptionTranslationFilter : Chain processed normally2019-02-26 23:23:40.727 DEBUG 8696 --- [nio-8080-exec-1] s.s.w.c.SecurityContextPersistenceFilter : SecurityContextHolder now cleared, as request processing completed2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 1 of 11 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 2 of 11 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] w.c.HttpSessionSecurityContextRepository : No HttpSession currently exists2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] w.c.HttpSessionSecurityContextRepository : No SecurityContext was available from the HttpSession: null. A new one will be created.2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 3 of 11 in additional filter chain; firing Filter: 'HeaderWriterFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 4 of 11 in additional filter chain; firing Filter: 'CsrfFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 5 of 11 in additional filter chain; firing Filter: 'LogoutFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /error' doesn't match 'POST /logout'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 6 of 11 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.s.HttpSessionRequestCache : saved request doesn't match2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 7 of 11 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 8 of 11 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.a.AnonymousAuthenticationFilter : Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@6332191e: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 9 of 11 in additional filter chain; firing Filter: 'SessionManagementFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 10 of 11 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'2019-02-26 23:23:40.730 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error at position 11 of 11 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'2019-02-26 23:23:40.731 DEBUG 8696 --- [nio-8080-exec-1] o.s.security.web.FilterChainProxy : /error reached end of additional filter chain; proceeding with original chain2019-02-26 23:23:40.763 DEBUG 8696 --- [nio-8080-exec-1] o.s.s.w.a.ExceptionTranslationFilter : Chain processed normally2019-02-26 23:23:40.763 DEBUG 8696 --- [nio-8080-exec-1] w.c.HttpSessionSecurityContextRepository : SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.2019-02-26 23:23:40.763 DEBUG 8696 --- [nio-8080-exec-1] s.s.w.c.SecurityContextPersistenceFilter : SecurityContextHolder now cleared, as request processing completed2019-02-26 23:23:48.532 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 1 of 11 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 2 of 11 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : No HttpSession currently exists2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : No SecurityContext was available from the HttpSession: null. A new one will be created.2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 3 of 11 in additional filter chain; firing Filter: 'HeaderWriterFilter'2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 4 of 11 in additional filter chain; firing Filter: 'CsrfFilter'2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 5 of 11 in additional filter chain; firing Filter: 'LogoutFilter'2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /docs/index.html' doesn't match 'POST /logout'2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 6 of 11 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.s.HttpSessionRequestCache : saved request doesn't match2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 7 of 11 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'2019-02-26 23:23:48.533 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 8 of 11 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'2019-02-26 23:23:48.534 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.a.AnonymousAuthenticationFilter : Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@6332191e: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'2019-02-26 23:23:48.534 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 9 of 11 in additional filter chain; firing Filter: 'SessionManagementFilter'2019-02-26 23:23:48.534 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.session.SessionManagementFilter : Requested session ID FBA1E30ACC405B91BAD285151F88F495 is invalid.2019-02-26 23:23:48.534 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 10 of 11 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'2019-02-26 23:23:48.534 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html at position 11 of 11 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'2019-02-26 23:23:48.536 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.a.i.FilterSecurityInterceptor : Secure object: FilterInvocation: URL: /docs/index.html; Attributes: [anonymous]2019-02-26 23:23:48.536 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.a.i.FilterSecurityInterceptor : Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@6332191e: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS2019-02-26 23:23:48.537 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.access.vote.AffirmativeBased : Voter: org.springframework.security.web.access.expression.WebExpressionVoter@2bccb588, returned: 12019-02-26 23:23:48.537 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.a.i.FilterSecurityInterceptor : Authorization successful2019-02-26 23:23:48.537 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.a.i.FilterSecurityInterceptor : RunAsManager did not change Authentication object2019-02-26 23:23:48.537 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /docs/index.html reached end of additional filter chain; proceeding with original chain2019-02-26 23:23:48.542 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.header.writers.HstsHeaderWriter : Not injecting HSTS header since it did not match the requestMatcher org.springframework.security.web.header.writers.HstsHeaderWriter$SecureRequestMatcher@151c286f2019-02-26 23:23:48.543 DEBUG 8696 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.2019-02-26 23:23:48.543 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.a.ExceptionTranslationFilter : Chain processed normally2019-02-26 23:23:48.543 DEBUG 8696 --- [nio-8080-exec-2] s.s.w.c.SecurityContextPersistenceFilter : SecurityContextHolder now cleared, as request processing completed2019-02-26 23:23:48.543 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 1 of 11 in additional filter chain; firing Filter: 'WebAsyncManagerIntegrationFilter'2019-02-26 23:23:48.543 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 2 of 11 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'2019-02-26 23:23:48.543 DEBUG 8696 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : No HttpSession currently exists2019-02-26 23:23:48.543 DEBUG 8696 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : No SecurityContext was available from the HttpSession: null. A new one will be created.2019-02-26 23:23:48.543 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 3 of 11 in additional filter chain; firing Filter: 'HeaderWriterFilter'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 4 of 11 in additional filter chain; firing Filter: 'CsrfFilter'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 5 of 11 in additional filter chain; firing Filter: 'LogoutFilter'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.u.matcher.AntPathRequestMatcher : Request 'GET /error' doesn't match 'POST /logout'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 6 of 11 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.s.HttpSessionRequestCache : saved request doesn't match2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 7 of 11 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 8 of 11 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.a.AnonymousAuthenticationFilter : Populated SecurityContextHolder with anonymous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@6332191e: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@957e: RemoteIpAddress: 127.0.0.1; SessionId: null; Granted Authorities: ROLE_ANONYMOUS'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 9 of 11 in additional filter chain; firing Filter: 'SessionManagementFilter'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 10 of 11 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error at position 11 of 11 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'2019-02-26 23:23:48.544 DEBUG 8696 --- [nio-8080-exec-2] o.s.security.web.FilterChainProxy : /error reached end of additional filter chain; proceeding with original chain2019-02-26 23:23:48.547 DEBUG 8696 --- [nio-8080-exec-2] o.s.s.w.a.ExceptionTranslationFilter : Chain processed normally2019-02-26 23:23:48.547 DEBUG 8696 --- [nio-8080-exec-2] w.c.HttpSessionSecurityContextRepository : SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.2019-02-26 23:23:48.547 DEBUG 8696 --- [nio-8080-exec-2] s.s.w.c.SecurityContextPersistenceFilter : SecurityContextHolder now cleared, as request processing completed
-
미해결함수형 프로그래밍과 JavaScript ES6+
이 강좌에 대한 질문은 아닌데 질문이 있습니다.
선생님의 함수형 프로그래밍 책을 사서 혼자 학습하고 인프런 함수형프로그래밍 무료강의를 막 다듣고 책 복습하고 있는 학생인데요. 함수형 프로그래밍 책의 2장의 비동기와 재귀부분의 코드를 읽는데 설명이 간략하게만 나와있어서 질문드립니다. function _async(func) { return function() { arguments[arguments.length++] = function(result) { _callback(result); }; // 변경된 부분 (function wait(args) { /* 새로운 공간 추가 */ for (var i = 0; i < args.length; i++) if (args[i] && args[i].name == '_async_cb_receiver') return args[i](function(arg) { args[i] = arg; // func.apply(null, args); wait(args); }); func.apply(null, args); })(arguments); var _callback; function _async_cb_receiver(callback) { _callback = callback; } return _async_cb_receiver; }; } log(div(sub(add(10, 15), 5), 10)); 이 코드에서요. wait()이 하는 역할이 잘 이해가 되지않습니다. 제가 이해한 바로는 log->div->sub->add순으로 call stack에 쌓이고 add실행 시, async를 받고 wait(args) 실행할때는 _async_cb_receiver가 없기 때문에 그냥 반복문만 돌고 func.apply()되고 그다음 sub가 실행되는데 add가 async_cb_receiver를 리턴하여 첫번째 인자 args[0]에 걸려서 return add의 _async_cb_receiver(function(arg) { args[i] = arg; wait(args)}); 를 실행합니다. 여기서, _ async_cb_receiver함수는 _callback 변수에 인자로 들어간 익명함수를 할당하고 다시 _async_cb_receiver를 리턴합니다. 마찬가지로 이것이 반복되어 log까지 실행되고, 백그라운드에는 add, sub, div, log의 setTimeout이 시간을 세다가 task queue로 돌아와서 main이 종료되고 wait과 args를 참조하는 클로저인 콜백함수들이 이벤트 루프에 의해 하나씩 실행되는데 먼저 add의 콜백함수가 실행될 때는 _async_cb_receiver가 안걸려서 그냥 넘어갈 것이고, 그다음으로 sub의 콜백함수가 실행될 때, 아까 할당해놓았던 _async_cb_receiver가 걸려서 익명함수 function(arg) { args[i] = arg; wait(args)}가 result를 받아서 실행될텐데 책의 해설에서는 값을 치환하면서 재귀한다고 하셨는데요. args는 이 async_cb_receiver의 인자인 이 익명함수와 wait의 클로저가 참조하고 있는 sub의 args일 것이고 args[0]에 add의 리턴인 async_cb_receiver가 걸려서 _callback이 받은 result로 args[0]에 result를 할당하여 치환했고 다시 wait을 다시 실행하는데요. 왜 wait이 다시 재귀로 도는지 아무리 생각해도 이해가 안갑니다. 저 코드에서 wait(arg) 부분을 주석처리하고 익명함수에 func.apply(null, args)를 넣어도 에러없이 돌아갔는데요. sub가 _async_cb_receiver를 만났을때 값만 치환하고 func.apply()를 하면 됐지 다시 wait을 켜서 for문을 돌며 _async_cb_receiver를 확인하면서 기다려야되는 이유가 있나요? 질문이 두서없어서 죄송합니다. 저도 머릿속으로 최대한 상황들을 그려내려고하는데 지식이 부족해서 뭐가 어떻게 돌아가는지 정확히 모르겠네요.. 혹시 비동기 상황에서 log, sub, div, add의 콜백들이 어떤순서로 실행되는지는 알수 없기때문에 wait()을 쓰며 결과를 받을때까지 계속 자기자신으로 재귀하는건가요? 더 생각해보다가 다시 궁금한 점이 생겼는데 wait함수를 실행할때마다 콘솔에 찍히게 (function wait(args) { console.log(args[0] + args[1] + " wait"); /* 새로운 공간 추가 */ for (var i = 0; i < args.length; i++) if (args[i] && args[i].name == '_async_cb_receiver') return args[i](function(arg) { args[i] = arg; wait(args); }); func.apply(null, args); })(arguments); 이런식으로 찍어봤는데요. 저는 wait()이 마구 재귀할줄알았는데 실행결과를 보니 사이사이에 한번씩만 찍혔습니다. 콜백함수에서 wait() 재귀함수를 호출할경우 바로 실행되서 결과받을때까지 도는게 아니라 콜백함수처럼 다시 백그라운드 갔다가 task queue로 가서 콜백함수처럼 실행되나요? 정확한 동작을 알고싶은데 제 검색능력이 딸려서 잘 못찾겠네요
-
미해결퍼블리셔 취업을 위해 제대로 배워보는 html과 css, 그리고 웹표준
overflow:hidden이 왜 저런 효과를 나타내는지 이해가 안 갑니다..
영역에서 넘치는 부분을 가리는 overflow:hidden이 왜 area:after { }와 동일한 효과를 가져오는지 잘 이해가 가지 않습니다.. 조금만 상세한 설명을 해주실 수 있으신가요?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
vector_size_check 이 결과는 제대로 나오는데 제출하면 실패가 뜹니다.
vertor_A = ([1, 2, 3], [3, 4, 5], [6, 7, 8], [9, 10])vertor_B = ([1, 2, 3], [3, 4], [6, 7, 8])vertor_C = ([1, 2, 3], [3], [6, 8])vertor_D = ([1, 2, 3], [3, 4, 5], [6, 7, 8])def vector_size_check(*vector_variables):return len(set(len(result) for row in vector_variables for result in row)) == 1FalseFalseFalseTrue제대로 한 것 같은데 submit.bat 해서 제출하면 실패로 떠요 혹시 이유를 알 수 있을까요? 어디가 잘못됐는지 모르겠습니다.
-
미해결[R을 R려줘] R 중급
Boston dataset 관련
Boston dataset이 R에서 기본 제공되는 데이터인지 잘 모르겠습니다.그냥 호출하니 없는 데이터셋이라고 나와서, 검색해보니 "MASS" package를 설치하고 library("MASS") 한 후에 사용하면 가능해지네요. 그 부분에 대해 간단히 안내가 있으면 좋을 것 같습니다.
-
미해결Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex
git 레파지토리 접근 권한 요청드렸습니다.
확인 부탁드려요 :)
-
미해결처음시작하는 Google 공식 개발 언어 Kotlin
클래스 -> 테스트 메소드 호출 연결 부분에서 혼동이 와서 질문합니다.
클래스에서 해당 인터페이스를 사용하게 되는데 main 함수에서 test_method로 클래스 타입을 넘길 때 혼동이 와서 문의 합니다.main()...{ var t1 = TestClass1() test_method1(t1) //매개 class 형이 매개변수 타입이 되어야 할거라고 예상했음}fun test_method1(a1 : Inter1){ // a1 변수로 Inter1 타입으로 받는다는건지??? a1.method1() a1.method2()}기존 자바사용하는 방식이랑 다른것 같아 문의합니다.감사합니다.