
代码报错记录
午夜忄
每天进步一点点
展开
-
Could not find the main class: Error exist in required project(s);
当运行某个项目,或者某个Java类的时候工具报错如下: 错误原因:你当前项目下存在错误,执行的代码与这个错误没关系,因为你当前要运行的main方法与存在错误的文件在一个项目当中。但 MyEclipse(或Eclipse)依然会报错。 解决办法:将你要进行测试的类放到别的Project下进行。原创 2013-06-03 18:32:01 · 5084 阅读 · 0 评论 -
java.sql.SQLException: Listener refused the connection with the following error:ORA-12505
java.sql.SQLException: 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原创 2013-06-15 21:08:37 · 47410 阅读 · 1 评论 -
java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 sequence.
解析xml文件时报错错误解释:io.UTFDataFormatException:无效的 byte 2 of 2-byte UTF-8序列。错误原因:xml文件编码格式问题 原编码格式为UTF-8,修改为gbk。好了原创 2013-06-03 15:57:50 · 2667 阅读 · 0 评论 -
java.lang.IllegalArgumentException: Can't convert argument: null
java.lang.IllegalArgumentException: Can't convert argument: null at org.apache.tomcat.util.IntrospectionUtils.convert(IntrospectionUtils.java:999) at org.apache.tomcat.util.digester.CallMethodRule原创 2013-06-15 20:28:50 · 1933 阅读 · 0 评论 -
the selected server is enabled,but is not configured properly.Deployment to it will not be permitted
用Tomcat添加部署项目的时候报错:the selected server is enabled,but is not configured properly.Deployment to it will not be permitted until the problem is corrected.Please navigate to the server preference pages原创 2013-07-08 17:00:32 · 2524 阅读 · 0 评论