org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers를 끄는 방법, 스프링 3 시작을 디버그 모드에 넣습니다. 모든 클래스는 'detectHandlers'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers를 끄기
예를
[org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:86)] - Rejected bean name 'org.springframework.security.authenticationManager': no URL paths identified
[org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:86)] - Rejected bean name 'systemProperties': no URL paths identified
[org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:86)] - Rejected bean name 'systemEnvironment': no URL paths identified
단지 내 "컨트롤러"클래스가 핸들러를 호출하고 다른 모든 클래스가 없습니다. 나는 봄 시작을 가속화하려고 노력하고있다. 어쨌든 모든 클래스에 대해이 자동 감지 처리기 기능을 해제 하시겠습니까?
은 componenet-scan exclude가 아닌 모든 bean을 제외하도록 xml에서 DefaultAnnotationHandlerMapping을 구성 할 수 있습니까? – cometta
나는 그것을 할 수 없다고 생각합니다. –