javaWeb项目登录学生管理系统登录时出现404报错

图片说明
图片说明

进入学生管理系统后,输入账号密码后跳转到404报错,是不是配置文件没设置好,有大神解答吗?

1个回答

404说明你请求的路径没有找到,看看你的servlet配置错没错

xiaofeiblog
小废博客 你说的是web.xml文件吗?
9 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
oracle数据库登录时报错
1、oracle数据库登录时报ORA-12541:TNS:无监听程序,说明是监听没启 解决方案: 1.1 Ctrl+R,输入“services.msc” 1.2 启动TNS监听服务,启动成功后,状态是“正在运行” 2、登录时报:ORA-12514:TNS:监听程序当前无法识别连接描述符中请求的服务,这错误说明客户端未监听到服务名 解决方案: 修改listen.ora,不同机器该文件放置在不...
用户注册+登录 JavaWeb项目压缩包
用mybaties框架实现用户注册+登录 所使用数据库为mysql,并对用户密码使用MD5加密后再存入数据库的用户信息表。
weblogic部署后,登录报错404
weblogic10.3.3.0部署的java程序,登录应用程序之后,报错如下:rnError 404--Not Found rnFrom RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:rn10.4.5 404 Not FoundrnThe server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.rnrnIf the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.rn rn我之前的war包部署上去是没有问题,中间改动过程序,打包之后部署上去,就出现这个问题,环境和配置文件都没有变动过,只是war有改动,部署上去就出错了;rnrn我重新部署我之前的那个war包,是没有问题的,现在不知道问题在哪里?rnrn求高手分析一下,万分感谢咯!
登录时报错 connection is closed
我用struts2.0做的网站,tomcat做服务器,连接数据库的方式为,数据库连接池,用一个静态方法进行连接,代码如下rnpublic static Connection getConnection()rn Connection conn = null;rn try rn Context c = new InitialContext();rn DataSource ds = (DataSource)c.lookup("java:comp/env/jdbc/jlbzy");rn conn = ds.getConnection();rn catch (NamingException e) rn e.printStackTrace();rn catch (SQLException e) rn e.printStackTrace();rn rn return conn;rn rn每次获取连接时用 DB.getConnection(),用完了就conn.closed,自己测试时大多数情况下还没发现问题,只有登录的时候,当执行到conn.closeed的时候, 会报一个conection is closed的错。
项目登录时报错:com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:422)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.Util.getInstance(Util.java:381)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)rn at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2359)rn at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:776)rn at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:422)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:352)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:284)rn at java.sql.DriverManager.getConnection(DriverManager.java:664)rn at java.sql.DriverManager.getConnection(DriverManager.java:247)rn at com.common.dbase.ConnManager$DBConnectionPool.newConnection(ConnManager.java:662)rn at com.common.dbase.ConnManager$DBConnectionPool.(ConnManager.java:404)rn at com.common.dbase.ConnManager.createPools(ConnManager.java:272)rn at com.common.dbase.ConnManager.init(ConnManager.java:308)rn at com.common.dbase.ConnManager.(ConnManager.java:51)rn at com.common.dbase.ConnManager.(ConnManager.java:29)rn at com.common.dbase.DBManager.getResultSet(DBManager.java:35)rn at com.docker.servlet.UserLoginServlet.router(UserLoginServlet.java:80)rn at com.docker.servlet.UserLoginServlet.doGet(UserLoginServlet.java:39)rn at com.docker.servlet.UserLoginServlet.doPost(UserLoginServlet.java:49)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at com.common.filter.LoginFilter.doFilter(LoginFilter.java:59)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failurernrnThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:422)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)rn at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)rn at com.mysql.jdbc.MysqlIO.(MysqlIO.java:343)rn at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2283)rn ... 46 morernCaused by: java.net.ConnectException: Connection refusedrn at java.net.PlainSocketImpl.socketConnect(Native Method)rn at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)rn at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)rn at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)rn at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)rn at java.net.Socket.connect(Socket.java:589)rn at java.net.Socket.connect(Socket.java:538)rn at java.net.Socket.(Socket.java:434)rn at java.net.Socket.(Socket.java:244)rn at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:253)rn at com.mysql.jdbc.MysqlIO.(MysqlIO.java:292)rn ... 47 more
学生管理系统登录模块
学生管理系统登录模块的设计与实现(附详细设计步骤和开发代码已经软件界面截图)
学生管理系统(二)---登录窗体
前言:           一直也没有对遇到的问题进行总结,现在总结一下,是不是相当于又学习了一遍学生啊!   内容:         1、判断用户名是否为空         '判断输入用户名是否为空 If Trim(txtUserName.Text = "") Then MsgBox "没有这个用户,请重新输入用户名!", vbOKOnly + vbExc...
学生管理系统之登录和注册-2
本门课程主要对MySQL数据库的操作从基本到复杂、JDBC的操作和数据库连接池、JAVAWeb开发技术的讲解。主要涵盖的技术包括但不限于Http协议、Servlet的使用、JSP页面的使用以及EL表达式的JSTL标签库、会话跟踪技术、文件上传下转和过滤器监听器的使用、jQuery和Ajax的使用,后又实现了学生管理系统的开发。
学生管理系统登录页面布局
就是一个很简单的layout布局,在编程书上很常见的那种,还没有什么高档的技术,
学生管理系统之登录和注册-1
本门课程主要对MySQL数据库的操作从基本到复杂、JDBC的操作和数据库连接池、JAVAWeb开发技术的讲解。主要涵盖的技术包括但不限于Http协议、Servlet的使用、JSP页面的使用以及EL表达式的JSTL标签库、会话跟踪技术、文件上传下转和过滤器监听器的使用、jQuery和Ajax的使用,后又实现了学生管理系统的开发。
学生管理系统(包含登录)
这是一个包含3种登录身份的系统,各个系统内容有关联,通过access数据表联系。
学生管理系统之登录与退出窗体
问题一:登录界面代码解释 1.public OK As Boolean 把“OK”定义为公共的逻辑型(也称“布尔型”)变量。 2.vbOKOnly + vbExclamation      (也可以写为0+48) 这个是在设置弹出的对话框中出线的按钮和图标。这句话的意思是:弹出的对话框中只有一个确定按钮和一个警告的图标。 我们还会遇到vbOKCancel+ vbExclamation的情...
Java程序---学生管理系统的登录和注册
/** * * 用户信息类,描述了用户的信息 * */ public class User { /** * 成员变量 * * */ private String username ; private String password; public User() { super(); } public User(String username, Str
登录报错
参数化实现登录,报错:rn[color=#FF0000]Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.[/color] rn有哪位碰到过这种问题?
javaweb项目中实现手机短信登录
手机号登录在现在的项目中用的场景非常多,实现起来也不难,今天我们就一起来通过演示实现登录过程。 <1>首先需要注册个第三方的账户,比如秒嘀科技等,然后拿到三个参数值:QUERAY_PATH ACCOUNT_SID AUTH_TOKEN <2>编写获取验证码类getMessage.java private static final String QUER...
在建立登录时出现的错误!
按照向导建立登录名zhou,之后通过查询分析器连接时出现错误:rn无法连接服务器LEIrn服务器:消息 18452,级别 16 状态 1rn[Microsoft][ODBC_SQL Server Driver][SQL Server]用户‘Zhou’登录失败!rn原因:未与SQL Server连接相关联!rnrn其中我的机器名是LEIrnrn请问大虾,这是怎么回事!rn多谢!!!
登录sqlserver2008时出现的问题
登录sqlserver2008时出现的问题,如下图:rn[img=http://b150.photo.store.qq.com/http_imgload.cgi?/rurl4_b=83b8921c15736a413815a3041b39d223f9549a8a6694c903bcd1ffc00feac839f7c656316bbe8f02d463d1027d49136c6d00bc4d9d22d6dbed06f45ca2a879897f43abf903cf5d5598d53a23d253837919284c42&a=150&b=150][/img]
小木虫网站登录返回404
最近搜东西时,看到小木虫网站的回答,需要登录才能查看全部,就等了下半年没登录账号,结果发现一点登录返回了404,开始还以为是服务器炸了。后来才发现是账号被封了。。 被封账号一登录,小木虫就会在客户端写入cookie,以后这个客户端在请求小木虫的任何网站都会返回404,想要在打开小木虫的网站就需要把它的cookie删掉。 问题是:1.莫名其妙封号,2.账号被封不给提示,3.不给你再次访问网站的机...
phpadmin 登录后,出错404
今天搞phpadmin,到登录界面了。rnrn [img=http://hi.csdn.net/attachment/201008/20/4344564_1282287047sptU.png][/img]rnrn但是,登录后就出现这个rnrn[img=http://hi.csdn.net/attachment/201008/20/4344564_1282287048Z0uF.jpg][/img]
SSM框架Javaweb项目出现404及解决经验
项目初创,刚从页面往后台发送请求就报404… 一番排查、探查,结果出自: <servlet-mapping> <servlet-name>SpringMVC</servlet-name> <url-pattern>/</url-pattern> <!-- HERE! --> </servle...
用jsp提交登录时报错
当我提交登录请求时总是说rnrnHTTP Status 500 -rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessagernrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexceptionrnrnjavax.servlet.ServletException: Wrapper cannot find servlet class LoginServlet or a class it depends onrn org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn java.lang.Thread.run(Unknown Source)rnrnroot causernrnjava.lang.ClassNotFoundException: LoginServletrn org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)rn org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)rn org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)rn org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn java.lang.Thread.run(Unknown Source)rnrnnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.rnrnrn我的Login.jsp文件:rnrn<%@ page pageEncoding="gb2312" %>rn<%@ page contentType="text/html; charset=gb2312" %>rn<% request.setCharacterEncoding("gb2312"); %>rn<%@ page language="java" %>rnrn rn rn rn rn 用户登录rn rnrn <% if (request.getAttribute("error") != null) %>rn rn rn <%=request.getAttribute("error")%>rn rnrn<%rn rn%>rnrn rn 用户名称:rn rn rn rnrn rn 密码:rn rnrn rn rn rn rn rn rnrnrnrnrnLoginServlet:package Servlet;rnrnimport java.io.IOException;rnimport java.io.PrintWriter;rnimport java.sql.*;rnrnimport javax.servlet.ServletException;rnimport javax.servlet.http.HttpServletRequest;rnimport javax.servlet.http.HttpServletResponse;rnrnimport JavaBean.User;rnimport JavaBean.DB_User;rnimport JavaBean.MD5_Encoding;rnrnpublic class LoginServlet extends javax.servlet.http.HttpServlet rnimplements javax.servlet.Servlet rnrn//构造函数rnpublic LoginServlet() rnsuper();rnrnrn//服务器端的验证、提交处理rnprotected void doPost(HttpServletRequest request,HttpServletResponse response)rnthrows ServletException, IOException rnrnresponse.setContentType("text/html; charset=bg2312");rnrnrnString CustomerID = request.getParameter("logname");rnString enPwd = request.getParameter("logpwd");rnrnDB_User dbuser = new DB_User();rnUser user=dbuser.get(CustomerID, enPwd);rnrn if(user!=null)rn //登录成功时,把strUserName设成 session变量 CustomerIDrn request.getSession(true).setAttribute("username",CustomerID);//保存登录信息rn tryrn request.getRequestDispatcher("index.jsp").forward(request,response);rn rn catch (Throwable t)rn getServletContext().log(t.getMessage());rn rn rn elsern request.setAttribute("error", "用户名与密码不匹配,请重新输入!");rn tryrn request.getRequestDispatcher("Login.jsp").forward(request,response);rn rn catch(Throwable t) rn getServletContext().log(t.getMessage());rn rn rn rnrn谁知道怎么回事,帮偶分析下,谢谢了
oracle 登录时报错,求大神解决~~
ERROR:rnORA-00604:error occurred at recursive SQL level 1rnORA-02248: invalid opetion for ALTER SESSIONrn之前改过数据库日期的显示格式 在用会话改过,后来就登录不了
PLSQL DEVELOPER 登录DB时报错
在Logon界面,Database的下拉列表中什么东西都没有。即使手动输入正确的内容,按[OK]后会提示如下的错误:rn========================================rnInitialization errorrnSQL*Net not properly installedrnrnOracleHomeKey:SOFTWARE\ORACLErnOracleHomeDir:rn========================================rnrn背景:现在的客户端机器在很久以前装过Oracle9,后来好像没能被正常卸载。rn目前安装的是Oracle10的客户端。通过自带的Net Configuration Assistantrn测试到DB服务器的连接时,完全正常。 rn(好像是PLSQLDeveloper找不到Oracle10的客户端,但我在Tools-〉Performance里面,rn手动输入了Oracle10的客户端的安装目录后,还是不好使。)rnrn请遇到过类似问题的同志们帮帮我!!!rn给点线索也好啊。rn谢谢!
zabbix网页登录报错
yum安装完zabbix后。在进行登录时报错" mysql_connect(): Access denied for user 'zabbix'@'localhost' (using password: YES) [include/db.inc.php:77] " 大概错误是数据库无法连接,db.inc.php报告这个错误。 检查了/var/log/zabbix_server.lo
spring+myBatis+maven登录报错
大家好,小弟不才,万般无耐。rn自己搭了一个框架,以前是普通的Web工程,可以正常启动,登录。rn手贱,将之转成了Maven工程,折腾了许久,终于正常启动了,窃以为万事大吉。谁知工程有不测bug。每次我在登录页面输入用户名和密码之后,提交,报错。rn报错信息片段如下:rnafterThrowingrnorg.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.HashMaprn23:28:55.618 ERROR 500.jsp - nested exception is org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.HashMaprnorg.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.HashMaprn... ...rnat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]rnat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.55]rnat java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]rnCaused by: org.apache.ibatis.builder.IncompleteElementException: Could not find result map java.util.HashMaprn... ...rn... 76 common frames omittedrnCaused by: java.lang.IllegalArgumentException: Result Maps collection does not contain value for java.util.HashMaprnrn工程源码地址如下:http://git.oschina.net/hankaibo/myframeworkrn
Xamarin accounts登录报错
[img=https://img-bbs.csdn.net/upload/201508/16/1439730763_197130.png][/img]rnrnrn安装完破解的xamarin之后帐号登录不上去,重启电脑也不行。
oracle10gem登录报错解决办法
oracle10g em 中国大部分地区登录后时间区不同导致红字解决方案
ssh2做登录查询时报错,HibernateDaoSupport
org.springframework.orm.hibernate3.HibernateQueryException: tb_user is not mapped [from tb_user u where username='user1' and userpassword='123']; nested exception is org.hibernate.hql.ast.QuerySyntaxException: tb_user is not mapped [from tb_user u where username='user1' and userpassword='123']rn org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:660)rn org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)rn org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)rn org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)rn org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:912)rn org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:904)rn com.net.daoImp.LoginDaoImp.find(LoginDaoImp.java:77)rn com.net.serviceImp.LoginServiceImp.find(LoginServiceImp.java:36)rn com.net.action.LoginAction.find(LoginAction.java:22)rn sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn java.lang.reflect.Method.invoke(Method.java:597)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)rn com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)rn com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)rn org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)rn com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)rn com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)rn org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)rn org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)rn org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)rn org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)rnrn
linux系统用ssh登录时报错如下
![图片说明](https://img-ask.csdn.net/upload/201504/17/1429242480_254911.png)
spring+mybatis实现登录时报错空指针
[b]spring文件:[/b]rn[img=https://img-bbs.csdn.net/upload/201701/19/1484813022_768205.png][/img]rn[b]mybatis文件:[/b]rn[img=https://img-bbs.csdn.net/upload/201701/19/1484813035_409220.png][/img]rn[b]dao层:[/b]rn[img=https://img-bbs.csdn.net/upload/201701/19/1484813043_803216.png][/img]rn[b]controller:[/b]rn[img=https://img-bbs.csdn.net/upload/201701/19/1484813053_456214.png][/img]rn[b]service:[/b]rn[img=https://img-bbs.csdn.net/upload/201701/19/1484813063_192221.png][/img]rnrn实在找不出错误 请各位大神帮帮忙
制作登录窗口时报错,咋解决
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clickrn Dim objConn As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data source=C:\seis\seismsys\seismsys\Database\seisys.mdb") '创建一个连接对象rn Dim objRd As New OleDb.OleDbDataReaderrn Dim objDa As New OleDb.OleDbDataAdapter '一个.OleDbDataAdapter对象rn Dim objComm As New OleDb.OleDbCommand '一个Command对象rnrn Dim objDs As New DataSet '一个数据集rn Dim pd As Boolean = Falsern Dim i As Integerrn rn 'objConn.ConnectionString = "Provider=Microsoft.jet.OLEDB.4.0;data_source='C:\seis\seismsys\seismsys\Database\seisys.mdb'"rn 'objComm.CommandText = "Select * From tb_login " '设置SQL命令,告诉程序应当如何取数据rn 'objComm.Connection = objConnrn 'objDa.SelectCommand = objCommrn objComm = New OleDb.OleDbCommand("select * from tb_login", objConn)rn objConn.Open()rn objRd = objComm.ExecuteReader '循环判断与数据库中数据是否相同rn Do While objRd.Read()rn For i = 0 To objRd.FieldCount - 1rn If Trim(TextBox1.Text) = (objRd.Item("用户名")) And Trim(TextBox2.Text) = (objRd.Item("密码")) Thenrn Me.Hide()rn Form2.Show()rn pd = Truern Exit Subrn End Ifrn Nextrn Looprn TextBox1.Text = ""rn TextBox2.Text = ""rn TextBox1.Focus()rn objRd.Close()rn objConn.Close()rnrnrnrn ' Dim r As OleDb.OleDbDataReader =rn ' objConn.ConnectionString = "Provider=Microsoft.jet.OLEDB.4.0;data_source='C:\seis\seismsys\seismsys\Database\seisys.mdb'"rn '设置连接字符串,告诉程序应如何连接数据库rnrn ' If Me.TextBox1.Text = "" Or Me.TextBox2.Text = "" Thenrn 'MsgBox("请输入用户名密码")rn ' End Ifrnrn End Subrnrnrnrn错误提示:错误 1 “System.Data.OleDb.OleDbDataReader.Friend Sub New(connection As System.Data.OleDb.OleDbConnection, command As System.Data.OleDb.OleDbCommand, depth As Integer, commandBehavior As System.Data.CommandBehavior)”是“Friend”,因此它在此上下文中不可访问。 C:\seis\seismsys\seismsys\Form1.vb 20 13 seismsysrn
登录窗口退出,报错!
rn退出按钮写 rnclose;rnapplication.Terminate;rnrnrnview source:rnrn Application.Initialize;rn Application.CreateForm(TForm_main, Form_main);rn Application.CreateForm(Tdm1, dm1);rn Application.CreateForm(TForm_denlu, Form_denlu);rn form_denlu.showmodal;rn if (okno= true) then begin //okno 是从确定按钮 中取的rn Application.Run;rnrn以前没有问题的,但是这次程序总是在登录退出时报错.请帮我看看.
jira6.3.6登录报错
The Gadget Dashboard bundled plugin is not available. To ensure the Gadget Dashboard plugin is enabled, please contact your JIRA administrators. JDK版本1.6.0,jira包atlassian-jira-6.3.6-standalone。 求指点 [img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/9.gif][/img] 急急急!!!
mysql 8.0 登录报错
新安装mysql 8.0,在用户登录时提示这样的错误 Failed to connect to MySQL server: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/xtrabackup/plugin/caching_sha2_pass...
oracle控制台登录报错
oracle服务已经启动,但控制台登录页面,一进去就显示错误:java.lang.Exception: No Such Targetrn在google上也找不到原因,只有来这里请教各位大侠了。
登录pl/sql报错
[img=https://img-bbs.csdn.net/upload/201607/18/1468808209_297990.png][/img]rn这个怎么解决啊?是内存满了?
cas客户端登录报错
服务器端版本为4.2.7,客户端为3.2,配置了mysql数据库验证登录,直接访问服务器端可以正常登录,但是在客户端访问时,在登录页面出来之前页面提示错误,rnCAS is UnavailablernThere was an error trying to complete your request. Please notify your support desk or try again.rnrn后台报错:rn五月 30, 2018 5:17:17 下午 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet [cas] in context with path [/cas-server-webapp-4.2.7] threw exception [Request processing failed; nested exception is org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing org.jasig.cas.web.flow.GenerateServiceTicketAction@6b9c9961 in state 'generateServiceTicket' of flow 'login' -- action execution attributes were 'map[[empty]]'] with root causernjava.lang.NullPointerExceptionrn at org.jasig.cas.web.flow.GenerateServiceTicketAction.doExecute(GenerateServiceTicketAction.java:87)rn at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)rn at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)rn at org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77)rn at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)rn at org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)rn at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)rn at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101)rn at org.springframework.webflow.engine.State.enter(State.java:194)rn at org.springframework.webflow.engine.Transition.execute(Transition.java:228)rn at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51)rn at org.springframework.webflow.engine.State.enter(State.java:194)rn at org.springframework.webflow.engine.Transition.execute(Transition.java:228)rn at org.springframework.webflow.engine.DecisionState.doEnter(DecisionState.java:51)rn at org.springframework.webflow.engine.State.enter(State.java:194)rn at org.springframework.webflow.engine.Transition.execute(Transition.java:228)rn at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:395)rn at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)rn at org.springframework.webflow.engine.TransitionableState.handleEvent(TransitionableState.java:116)rn at org.springframework.webflow.engine.Flow.handleEvent(Flow.java:547)rn at org.springframework.webflow.engine.impl.FlowExecutionImpl.handleEvent(FlowExecutionImpl.java:390)rn at org.springframework.webflow.engine.impl.RequestControlContextImpl.handleEvent(RequestControlContextImpl.java:210)rn at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:105)rn at org.springframework.webflow.engine.State.enter(State.java:194)rn at org.springframework.webflow.engine.Flow.start(Flow.java:527)rn at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:368)rn at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:223)rn at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)rn at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:238)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)rn at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apereo.cas.security.ResponseHeadersEnforcementFilter.doFilter(ResponseHeadersEnforcementFilter.java:238)rn at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)rn at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apereo.cas.security.RequestParameterPolicyEnforcementFilter.doFilter(RequestParameterPolicyEnforcementFilter.java:261)rn at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)rn at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.jasig.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:62)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)rn at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Unknown Source)rn求大神指教如何解决这个问题?
MySQL 登录报错 1045
1045 access denied for 'system'@'localhost' (using password:YES) 今天用 navicat premium软件登录mysql数据库的时候遇到上面的这个问题。 在网上找了很多发现都是让我重置密码,然后找了个mysql的教程看了下,发现有时候的情况并不用重置密码解决。 我登录报错的原因是因为 我将登录帐号写错了,mysql有默
shiro登录报错
2017-03-04 11:06:51,014 INFO [org.apache.shiro.cache.ehcache.EhCacheManager] - Using existing EHCache named [activeSessionsCache]rnorg.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [com.thinkgem.jeesite.modules.sys.security.UsernamePasswordToken - admin, rememberMe=false (113.116.78.239)]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).rn at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:214)rn at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)rn at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)rn at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)rn at org.apache.shiro.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:53)rn at org.apache.shiro.web.filter.authc.FormAuthenticationFilter.onAccessDenied(FormAuthenticationFilter.java:154)rn at org.apache.shiro.web.filter.AccessControlFilter.onAccessDenied(AccessControlFilter.java:133)rn at org.apache.shiro.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:162)rn at org.apache.shiro.web.filter.PathMatchingFilter.isFilterChainContinued(PathMatchingFilter.java:203)rn at org.apache.shiro.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:178)rn at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:131)rn at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)rn at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)rn at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)rn at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)rn at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)rn at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)rn at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)rn at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)rn at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)rn at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)rn at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)rn at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2399)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: org.apache.shiro.cache.CacheException: org.apache.shiro.cache.CacheException: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000rn at org.apache.shiro.cache.ehcache.EhCache.values(EhCache.java:182)rn at org.apache.shiro.session.mgt.eis.CachingSessionDAO.getActiveSessions(CachingSessionDAO.java:345)rn at com.thinkgem.jeesite.common.security.shiro.session.CacheSessionDAO.getActiveSessions(CacheSessionDAO.java:152)rn at com.thinkgem.jeesite.common.security.shiro.session.CacheSessionDAO.getActiveSessions(CacheSessionDAO.java:135)rn at com.thinkgem.jeesite.modules.sys.security.SystemAuthorizingRealm.doGetAuthenticationInfo(SystemAuthorizingRealm.java:62)rn at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568)rn at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180)rn at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267)rn at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)rn ... 42 morernCaused by: org.apache.shiro.cache.CacheException: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000rn at org.apache.shiro.cache.ehcache.EhCache.get(EhCache.java:85)rn at org.apache.shiro.cache.ehcache.EhCache.values(EhCache.java:172)rn ... 50 morernCaused by: net.sf.ehcache.CacheException: java.io.StreamCorruptedException: invalid stream header: 00000000rn at net.sf.ehcache.store.disk.DiskStorageFactory.retrieve(DiskStorageFactory.java:914)rn at net.sf.ehcache.store.disk.Segment.decodeHit(Segment.java:183)rn at net.sf.ehcache.store.disk.Segment.get(Segment.java:221)rn at net.sf.ehcache.store.disk.DiskStore.get(DiskStore.java:467)rn at net.sf.ehcache.store.FrontEndCacheTier.get(FrontEndCacheTier.java:201)rn at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:2070)rn at net.sf.ehcache.Cache.get(Cache.java:1590)rn at org.apache.shiro.cache.ehcache.EhCache.get(EhCache.java:73)rn ... 51 morernCaused by: java.io.StreamCorruptedException: invalid stream header: 00000000rn at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:804)rn at java.io.ObjectInputStream.(ObjectInputStream.java:299)rn at net.sf.ehcache.util.PreferTCCLObjectInputStream.(PreferTCCLObjectInputStream.java:39)rn at net.sf.ehcache.store.disk.DiskStorageFactory.read(DiskStorageFactory.java:367)rn at net.sf.ehcache.store.disk.DiskStorageFactory.retrieve(DiskStorageFactory.java:910)rn ... 58 morernrnrn请我大虾这种问题怎么解决
mysql5.7 登录报错
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)win7 64位处理方式:1.net stop mysql服务 我这里是:net stop mysql572.找到安装mysql目录,找到my.ini3.在[mysqld]下面加skip_grant_tables 跳过用户验证表4...
相关热词 c# 线程结束时执行 c# kb mb 图片 c# 替换第几位字符 c#项目决定成败 c# 与matlab c# xml缩进 c#传感器基础 c#操作wps c# md5使用方法 c# 引用父窗口的组件