`

八阿哥-酷-第三弹

阅读更多

*、Skipped installing application listeners due to previous error

原因:编译时的jdk和当前运行环境jdk不一致;
解决方法:在Ttomcat电脑上安装与编译环境相同的JDK,并修改系统环境变量或在 startup.bat中指定JDK。

 

*、Deployment failure on Tomcat 6.x. Could not copy all resources to E:\apache-tomcat-6.0.16\webapps\HebbnWebServices. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at E:\apache-tomcat-6.0.16\webapps\HebbnWebServices

解决方案:将项目中build path配置中的jar去除重新加载一遍即可。

 

*、APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks

使用c3p0,系统启动时若无法连接到数据库便会报出该异常,其他解决方案待定

 

*、java.lang.NoClassDefFoundError: javax/transaction/UserTransaction

缺少jta.jar包

 

*、java.lang.ClassNotFoundException: org.quartz.jobs.FileScanListener

缺少quartz的核心包

 

*、getRequestDispatcher产生IllegalStateException Cannot forward after response has been committed

解决思路之一:用getRequestDispatcher跳转,url应该是以/开头的,/表示相对于服务器根路径

 

*、a different object with the same identifier value was already associated

第一种:说明要保存的对象存在相同的情况,此时可以选择先从数据库读取,然后修改,最后执行保存即可
第二种:使用不同的方式对同一Id对象获取了两次如bindEntiy和其他获取list列表时也获取了一次该对象
解决办法:执行template.clear将list从session
*、邮件发送失败AuthenticationFailedException
第一步:确认发送端用户名密码没有问题
第二步:确认接收方支持smtp协议
*、Processing of multipart/form-data request failed
http://blog.csdn.net/zgmzyr/article/details/7431793仅供参考
io异常发生在上传可以考虑是否是网络通畅问题
 
 

 

分享到:
评论
1 楼 lBovinl 2017-07-14  
*、Invalid escape sequence和malformed unicode character escape sequence
说明待转json的字符串中含有非法字符如单个反斜杠\

相关推荐

Global site tag (gtag.js) - Google Analytics