Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录之后是空白界面? #4

Open
Tumbleweed-ou opened this issue Dec 6, 2019 · 3 comments
Open

登录之后是空白界面? #4

Tumbleweed-ou opened this issue Dec 6, 2019 · 3 comments

Comments

@Tumbleweed-ou
Copy link

shiro你是怎么认证的?

@mohuancaizi
Copy link

我也是登录之后 空白页
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'

@mifcode
Copy link

mifcode commented Mar 26, 2020

我登录之后部分功能是没有写完,测试不出数据,登录失败controller的重定向出现问题,跳转空白页,部分功能没有写完,测试中文会乱码,不过我最主要的是希望用这个demo来借鉴一下shiro功能,我想写一个没有整合maven的ssm框架。

@qijihui
Copy link

qijihui commented Jun 5, 2021

为什么,我的登录界面登录后没有反应

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants