解决方法:,删除
Tomcat:
IOException while loading persisted sessions:
严重: IOException while loading persisted sessions:
严重: Exception loading sessions from persistent storage
原因是tomcat对硬盘的session读取失败,彻底解决办法一下:将work下面的文件清空,
主要是*.ser文件,。
not open ServletContext resource [/WEB-INF/]
解决方法:
<context-param>--初始化参数,设置web站台的环境参数
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:</param-value>
</context-param>
<listener>--设置监听器
<listener-class>
</listener-class>
</listener>
. SSH整合时报错
把asm-,它存在于spring AOP 中
方法:工程--右键--properties--Java Build Path--Libraries--Remove
: com/sun/mail/util/LineInputStream 邮件发送报错
原因是jar包版本不统一,解决方法如下
删除Java EE 5 Libraries/.
具体方法如下:
打开D:/Program Files/MyEclipse /
,然后删除mail,activation
.:(发送邮件时报错)
Sending the email to the following server failed : smtp.:25
原因:开启了TLS检测。
解决:
java异常处理 来自淘豆网m.daumloan.com转载请标明出处.