6
respostas

entrando na página

http://localhost:8280/desif/, pedi um login e senha. Se clico em cancelar, mostra esta mensagem.

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback. Thu Aug 24 20:46:06 BRT 2017 There was an unexpected error (type=Unauthorized, status=401). Full authentication is required to access this resource

6 respostas

Não estou conseguindo seguir com o curso.

Log

ago 25, 2017 8:27:13 AM org.apache.tomcat.util.digester.SetPropertiesRule begin ADVERTÊNCIA: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:desif' did not find a matching property. ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Server version: Apache Tomcat/8.5.20 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Server built: Aug 2 2017 21:35:49 UTC ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Server number: 8.5.20.0 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: OS Name: Windows 10 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: OS Version: 10.0 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Architecture: amd64 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Java Home: C:\Program Files\Java\jre1.8.0_131 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: JVM Version: 1.8.0_131-b11 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: JVM Vendor: Oracle Corporation ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: CATALINA_BASE: C:\Netsoft\workspace_sts.metadata.plugins\org.eclipse.wst.server.core\tmp0 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 8.5 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:52277 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Command line argument: -Dcatalina.base=C:\Netsoft\workspace_sts.metadata.plugins\org.eclipse.wst.server.core\tmp0 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.5 ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Command line argument: -Dwtp.deploy=C:\Netsoft\workspace_sts.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.5\endorsed ago 25, 2017 8:27:13 AM org.apache.catalina.startup.VersionLoggerListener log INFORMAÇÕES: Command line argument: -Dfile.encoding=Cp1252 ago 25, 2017 8:27:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFORMAÇÕES: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jre1.8.0_131\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_131/bin/server;C:/Program Files/Java/jre1.8.0_131/bin;C:/Program Files/Java/jre1.8.0_131/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Java\jdk1.8.0_131\bin;C:\Program Files\Git\cmd;C:\Program Files\OpenVPN\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Netsoft\maven\apache-maven-3.5.0\bin;C:\Users\Guilherme Costa\AppData\Local\Microsoft\WindowsApps;;C:\Netsoft\sts-bundle\sts-3.8.4.RELEASE;;.] ago 25, 2017 8:27:13 AM org.apache.coyote.AbstractProtocol init INFORMAÇÕES: Initializing ProtocolHandler ["http-nio-8080"] ago 25, 2017 8:27:13 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector INFORMAÇÕES: Using a shared selector for servlet write/read ago 25, 2017 8:27:13 AM org.apache.coyote.AbstractProtocol init INFORMAÇÕES: Initializing ProtocolHandler ["ajp-nio-8009"] ago 25, 2017 8:27:13 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector INFORMAÇÕES: Using a shared selector for servlet write/read ago 25, 2017 8:27:13 AM org.apache.catalina.startup.Catalina load INFORMAÇÕES: Initialization processed in 1003 ms ago 25, 2017 8:27:13 AM org.apache.catalina.core.StandardService startInternal INFORMAÇÕES: Starting service [Catalina] ago 25, 2017 8:27:13 AM org.apache.catalina.core.StandardEngine startInternal INFORMAÇÕES: Starting Servlet Engine: Apache Tomcat/8.5.20 ago 25, 2017 8:27:17 AM org.apache.jasper.servlet.TldScanner scanJars INFORMAÇÕES: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. ago 25, 2017 8:27:17 AM org.apache.catalina.core.ApplicationContext log INFORMAÇÕES: 3 Spring WebApplicationInitializers detected on classpath

. _ /\ / ' () \ \ \ \ ( ( )__ | ' | '| | ' \/ ` | \ \ \ \ \/ __)| |)| | | | | || (_| | ) ) ) )

' |__| .|| ||| |__, | / / / /

||==============|__/=///_/ :: Spring Boot :: (v1.5.6.RELEASE)

2017-08-25 08:27:19.809 INFO 7604 --- [ost-startStop-1] br.com.netsoft.desif.ServletInitializer : Starting ServletInitializer v0.0.1-SNAPSHOT on DESKTOP-97UMVJU with PID 7604 (C:\Netsoft\workspace_sts.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\desif\WEB-INF\classes started by Guilherme Costa in C:\Netsoft\sts-bundle\sts-3.8.4.RELEASE) 2017-08-25 08:27:19.818 INFO 7604 --- [ost-startStop-1] br.com.netsoft.desif.ServletInitializer : No active profile set, falling back to default profiles: default 2017-08-25 08:27:20.374 INFO 7604 --- [ost-startStop-1] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5cfe8c73: startup date [Fri Aug 25 08:27:20 BRT 2017]; root of context hierarchy 2017-08-25 08:27:23.885 INFO 7604 --- [ost-startStop-1] o.a.c.c.C.[.[localhost].[/desif] : Initializing Spring embedded WebApplicationContext 2017-08-25 08:27:23.885 INFO 7604 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3511 ms 2017-08-25 08:27:25.314 INFO 7604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'errorPageFilter' to: [/] 2017-08-25 08:27:25.314 INFO 7604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/] 2017-08-25 08:27:25.315 INFO 7604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/] 2017-08-25 08:27:25.315 INFO 7604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/] 2017-08-25 08:27:25.315 INFO 7604 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/] 2017-08-25 08:27:25.319 INFO 7604 --- [ost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/] 2017-08-25 08:27:25.319 INFO 7604 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] 2017-08-25 08:27:28.715 INFO 7604 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default' 2017-08-25 08:27:28.756 INFO 7604 --- [ost-startStop-1] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [ name: default ...] 2017-08-25 08:27:28.998 INFO 7604 --- [ost-startStop-1] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final} 2017-08-25 08:27:29.001 INFO 7604 --- [ost-startStop-1] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found 2017-08-25 08:27:29.004 INFO 7604 --- [ost-startStop-1] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist 2017-08-25 08:27:29.142 INFO 7604 --- [ost-startStop-1] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final} 2017-08-25 08:27:29.531 INFO 7604 --- [ost-startStop-1] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect 2017-08-25 08:27:29.856 INFO 7604 --- [ost-startStop-1] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException 2017-08-25 08:27:29.861 INFO 7604 --- [ost-startStop-1] org.hibernate.type.BasicTypeRegistry : HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@261a18b5 2017-08-25 08:27:30.324 WARN 7604 --- [ost-startStop-1] org.hibernate.orm.deprecation : HHH90000014: Found use of deprecated [org.hibernate.id.SequenceHiLoGenerator] sequence-based id generator; use org.hibernate.id.enhanced.SequenceStyleGenerator instead. See Hibernate Domain Model Mapping Guide for details. 2017-08-25 08:27:31.200 INFO 7604 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2017-08-25 08:27:32.454 INFO 7604 --- [ost-startStop-1] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5cfe8c73: startup date [Fri Aug 25 08:27:20 BRT 2017]; root of context hierarchy 2017-08-25 08:27:32.695 INFO 7604 --- [ost-startStop-1] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/]}" onto public void br.com.netsoft.desif.controller.HomeController.index() 2017-08-25 08:27:32.703 INFO 7604 --- [ost-startStop-1] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 2017-08-25 08:27:32.703 INFO 7604 --- [ost-startStop-1] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 2017-08-25 08:27:32.832 INFO 7604 --- [ost-startStop-1] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2017-08-25 08:27:32.832 INFO 7604 --- [ost-startStop-1] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2017-08-25 08:27:32.994 INFO 7604 --- [ost-startStop-1] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2017-08-25 08:27:35.227 INFO 7604 --- [ost-startStop-1] b.a.s.AuthenticationManagerConfiguration :

Using default security password: 8b19941b-eef0-4ed4-be27-2c479f11be33

2017-08-25 08:27:35.443 INFO 7604 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/css/'], Ant [pattern='/js/'], Ant [pattern='/images/'], Ant [pattern='/webjars/'], Ant [pattern='//favicon.ico'], Ant [pattern='/error']]], [] 2017-08-25 08:27:35.805 INFO 7604 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@17518dd1, org.springframework.security.web.context.SecurityContextPersistenceFilter@2853a219, org.springframework.security.web.header.HeaderWriterFilter@2d66a509, org.springframework.security.web.authentication.logout.LogoutFilter@77b9f828, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6eae286e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4e9c8c11, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@35af69ab, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3813dddb, org.springframework.security.web.session.SessionManagementFilter@66f78629, org.springframework.security.web.access.ExceptionTranslationFilter@71295375, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@78423f55] 2017-08-25 08:27:36.460 INFO 7604 --- [ost-startStop-1] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2017-08-25 08:27:36.494 INFO 7604 --- [ost-startStop-1] br.com.netsoft.desif.ServletInitializer : Started ServletInitializer in 18.196 seconds (JVM running for 24.239) 2017-08-25 08:27:36.528 INFO 7604 --- [ost-startStop-1] o.a.c.c.C.[.[localhost].[/desif] : Initializing Spring FrameworkServlet 'dispatcher' 2017-08-25 08:27:36.528 INFO 7604 --- [ost-startStop-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcher': initialization started 2017-08-25 08:27:36.533 INFO 7604 --- [ost-startStop-1] .s.AnnotationConfigWebApplicationContext : Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Fri Aug 25 08:27:36 BRT 2017]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5cfe8c73 2017-08-25 08:27:36.541 INFO 7604 --- [ost-startStop-1] .s.AnnotationConfigWebApplicationContext : Registering annotated classes: [class br.com.netsoft.desif.AppWebConfiguration,class br.com.netsoft.desif.JPAConfiguration] 2017-08-25 08:27:36.593 INFO 7604 --- [ost-startStop-1] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'mvcConversionService' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration; factoryMethodName=mvcConversionService; initMethodName=null; destroyMethodName=(inferred); defined in org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=appWebConfiguration; factoryMethodName=mvcConversionService; initMethodName=null; destroyMethodName=(inferred); defined in br.com.netsoft.desif.AppWebConfiguration] 2017-08-25 08:27:36.884 INFO 7604 --- [ost-startStop-1] o.s.j.d.DriverManagerDataSource : Loaded JDBC driver: org.postgresql.Driver 2017-08-25 08:27:36.946 INFO 7604 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default' 2017-08-25 08:27:36.946 INFO 7604 --- [ost-startStop-1] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [ name: default ...] 2017-08-25 08:27:37.031 INFO 7604 --- [ost-startStop-1] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect 2017-08-25 08:27:37.169 INFO 7604 --- [ost-startStop-1] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException 2017-08-25 08:27:37.170 INFO 7604 --- [ost-startStop-1] org.hibernate.type.BasicTypeRegistry : HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@261a18b5 2017-08-25 08:27:37.214 WARN 7604 --- [ost-startStop-1] o.h.b.i.SessionFactoryBuilderImpl : Unrecognized hbm2ddl_auto value : none. Supported values include create, create-drop, update, and validate. Ignoring 2017-08-25 08:27:37.254 WARN 7604 --- [ost-startStop-1] o.h.j.i.EntityManagerFactoryRegistry : HHH000436: Entity manager factory name (default) is already registered. If entity manager will be clustered or passivated, specify a unique value for property 'hibernate.ejb.entitymanager_factory_name' 2017-08-25 08:27:37.254 INFO 7604 --- [ost-startStop-1] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2017-08-25 08:27:37.372 INFO 7604 --- [ost-startStop-1] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/]}" onto public void br.com.netsoft.desif.controller.HomeController.index() 2017-08-25 08:27:37.458 INFO 7604 --- [ost-startStop-1] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2017-08-25 08:27:37.459 INFO 7604 --- [ost-startStop-1] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2017-08-25 08:27:37.565 INFO 7604 --- [ost-startStop-1] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date [Fri Aug 25 08:27:36 BRT 2017]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5cfe8c73 2017-08-25 08:27:37.866 INFO 7604 --- [ost-startStop-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcher': initialization completed in 1337 ms 2017-08-25 08:27:37.898 INFO 7604 --- [ main] org.apache.coyote.ajp.AjpNioProtocol : Starting ProtocolHandler ["ajp-nio-8009"] 2017-08-25 08:27:37.906 INFO 7604 --- [ main] org.apache.catalina.startup.Catalina : Server startup in 24336 ms 2017-08-25 08:27:41.298 INFO 7604 --- [nio-8080-exec-5] o.a.c.c.C.[.[localhost].[/desif] : Initializing Spring FrameworkServlet 'dispatcherServlet' 2017-08-25 08:27:41.298 INFO 7604 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started 2017-08-25 08:27:41.363 INFO 7604 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 64 ms

Prezado Guilherme,

Se entendi o problema, a mensagem citada por você ocorre quando clica no botão de cancelar ao invés de OK, cancelando a autenticação, certo?

Sendo isso, a mensagem fala que você não tem nada que trate casos de erro na autenticação. Por exemplo, quando o login estiver incorreto, algum método redirecione para uma página "erro.html" ou algo do tipo.

Essa parte da mensagem fala exatamente isso:

This application has no explicit mapping for /error, so you are seeing this as a fallback

Para resolver isso você tem que criar algo que trate esses casos de erro, posta a parte do seu código aqui que você criou para fazer essa autenticação, fica melhor para te ajudar no que fazer. :-D

Não estava implementado o spring security.

Retirei do pom e não mostrou mais esta mensagem

org.springframework.security spring-security-test test

Voltou a dar o erro.

No console do eclipse mostra isto

2017-08-25 11:04:22.321 INFO 3308 --- [nio-8080-exec-3] o.a.c.c.C.[.[localhost].[/desif] : Initializing Spring FrameworkServlet 'dispatcherServlet' 2017-08-25 11:04:22.321 INFO 3308 --- [nio-8080-exec-3] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started 2017-08-25 11:04:22.368 INFO 3308 --- [nio-8080-exec-3] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 47 ms