发表于: 2017-05-22 22:30:28
1 1164
今天完成的事情:
新建了一个关于springmvc和cookie的项目;
旁听需求讲解会
明天计划的事情:
跑通cookie的项目,并能够通过/u/拦截器设置,拦截指定的接口并登录访问
遇到的问题:
[ERROR] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.handler.MappedInterceptor#3': Cannot create inner bean 'com.jason.rest.interceptor.UserInterceptor#0' of type [com.jason.rest.interceptor.UserInterceptor] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.jason.rest.interceptor.UserInterceptor#0': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'persistentLoginsServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'persistentLoginsMapper' is defined
收获:
今天的收获不是很多,明天无论如何都要拿下任务五!
评论