登录之后是空白界面?
Opened this issue · 3 comments
shiro你是怎么认证的?
我也是登录之后 空白页
DEBUG [http-nio-8080-exec-10] - Creating a new SqlSession
DEBUG [http-nio-8080-exec-10] - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@50c91fcc] was not registered for synchronization because synchronization is not active
DEBUG [http-nio-8080-exec-10] - Fetching JDBC Connection from DataSource
Fri Jan 10 14:47:24 CST 2020 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
DEBUG [http-nio-8080-exec-10] - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@50c91fcc]
DEBUG [http-nio-8080-exec-10] - Added HttpServletResponse Cookie [rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Thu, 09-Jan-2020 06:47:25 GMT]
DEBUG [http-nio-8080-exec-10] - DispatcherServlet with name 'dispatcher' processing POST request for [/login]
DEBUG [http-nio-8080-exec-10] - Looking up handler method for path /login
DEBUG [http-nio-8080-exec-10] - Returning handler method [public java.lang.String com.giit.www.system.controller.LoginController.login(javax.servlet.http.HttpServletRequest,org.springframework.ui.Model,javax.servlet.http.HttpSession)]
DEBUG [http-nio-8080-exec-10] - Returning cached instance of singleton bean 'loginController'
DEBUG [http-nio-8080-exec-10] - Skip CORS processing, request is a same-origin one
DEBUG [http-nio-8080-exec-10] - Resolving exception from handler [public java.lang.String com.giit.www.system.controller.LoginController.login(javax.servlet.http.HttpServletRequest,org.springframework.ui.Model,javax.servlet.http.HttpSession)]: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
DEBUG [http-nio-8080-exec-10] - Resolving exception from handler [public java.lang.String com.giit.www.system.controller.LoginController.login(javax.servlet.http.HttpServletRequest,org.springframework.ui.Model,javax.servlet.http.HttpSession)]: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
DEBUG [http-nio-8080-exec-10] - Resolving exception from handler [public java.lang.String com.giit.www.system.controller.LoginController.login(javax.servlet.http.HttpServletRequest,org.springframework.ui.Model,javax.servlet.http.HttpSession)]: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
DEBUG [http-nio-8080-exec-10] - Null ModelAndView returned to DispatcherServlet with name 'dispatcher': assuming HandlerAdapter completed request handling
DEBUG [http-nio-8080-exec-10] - Successfully completed request
DEBUG [http-nio-8080-exec-10] - Returning cached instance of singleton bean 'sqlSessionFactory'
我登录之后部分功能是没有写完,测试不出数据,登录失败controller的重定向出现问题,跳转空白页,部分功能没有写完,测试中文会乱码,不过我最主要的是希望用这个demo来借鉴一下shiro功能,我想写一个没有整合maven的ssm框架。
为什么,我的登录界面登录后没有反应