![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误调试
Phoebe_wei
做一个热爱生活的程序媛
展开
-
Eclipse导入的项目中的中文都是乱码,如何解决?
把项目导入Eclipse时,里边的中文全是乱码,试了很多方法,最终总结一下!eclipse之所以会出现乱码问题是因为eclipse编辑器选择的编码规则是可变的。一般默认都是UTF-8或者GBK,当从外部导入的一个工程时,如果该工程的编码方式与eclipse中设置的编码方式不同,就会产生中文的乱码问题,这其中还有几种情况。 对于eclipse工作空间 ,eclipse会把你改的设置保存在原创 2016-06-15 14:07:37 · 34409 阅读 · 4 评论 -
JSP 页面商品列表显示不出来
Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptorThe Connection descriptor used by the client was:localhost:1521:orcl原创 2016-06-21 15:29:39 · 2120 阅读 · 0 评论 -
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.annotations.Version). log4j:WA
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.annotations.Version).【log4j:警告 日志记录器orghibernatecfgenvironment输出源不能被发现】log4j:WARN Please initialize the log4j system properly.【lo原创 2016-07-19 15:37:10 · 4923 阅读 · 0 评论 -
%%%% Error Creating SessionFactory %%%%
项目中使用的hibernate.但是开始运行就报错:%%%% Error Creating SessionFactory %%%%org.hibernate.MappingException: Could not read mappings from resource情况有三种1:hibernate.cfg.xml中,属性里面"./BOOK.hbm.xml"所指定的路径不正确,即改转载 2016-07-19 15:53:43 · 746 阅读 · 0 评论 -
IO 异常:The Network Adapter could not establish the connection
这种异常的出现大致上有下面几种:1。IP错误。在设置URL时错误,例如:jdbc:oracle:thin:@192.168.0.36:1521:sharp数据库服务器不正确:ping 服务器IP是否正确。不正确,将URL更改为正确端口号错误:一般不会错误。进行一下操作:在DOS上键入sqlplus,检查oracle是否开启一却正常,执行下面第2步。2。防火墙如果原创 2016-07-19 16:01:58 · 449 阅读 · 0 评论 -
Oracle创建表格时报错ora-00903:表名无效
当我在数据库中创建order表时,系统提示ora-00903:表名无效create table ORDER( oid NUMBER, bid NUMBER, createdate VARCHAR2(50), count NUMBER, price VARCHAR2(50), totalprice VAR原创 2016-06-23 19:21:26 · 25010 阅读 · 0 评论 -
Unable to get the default Bean Validation factory
在使用hibernat3.6.10.Final-dist 配置hibernate.cfg.xml的时候,出现了一个问题。用junit测试的时候,抛出一个异常:Unable to get the default Bean Validation factory解决方案:在hibernate.cfg.xml中配置的时候 需要这个一个属性:none原因分析:j原创 2016-08-13 16:11:53 · 754 阅读 · 0 评论