ssh常见错误

来源:互联网 发布:js中get post 区别 编辑:程序博客网 时间:2024/06/07 04:42

1.[org.hibernate.util.DTDEntityResolver] - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!

原方案:"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

新方案:"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">

2.Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds.

可能解决方案:修改workspace\.metadata\.plugins\org.eclipse.wst.server.core\server.xml中start-timeout参数为100或更长,原因项目过大启动时间有时超过45s。

3.Last packet sent to the server was 0 ms ago.

解决方案:启动数据库服务

4.页面乱码问题

a.    <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"  />添加URIEncoding="UTF-8"

b.     jdbc:mysql://localhost:3306/dbname                                                                                                  添加?characterEncoding=utf-8


0 0
原创粉丝点击