
Exceptions
evangel_z
您的敏感资料已被系统自动加密,若要修改资料,请填写完整信息。
展开
-
java.sql.SQLException: ORA-02289: 序列不存在
实际原因不在于: B 居然,发现是SEQUENCE没有被创建…… DROP SEQUENCE A.B; CREATE SEQUENCE A.B START WITH 63 MAXVALUE 999999999999999999999999999 MINVALUE 1 NOCYCLE CACHE 20 NOORDER;原创 2012-06-27 16:54:05 · 16413 阅读 · 0 评论 -
一步一步学习基本PhoneGap的Android应用程序
本教程假定你使用Eclipse进行android开发,你可以创建新的Android项目。 PhoneGap的文件名为cordova。 1.创建新的Android项目在eclipse 2.从http://phonegap.com/download/下载cordova-2.6.0.jar这个zip压缩包,并解压 3.将cordova-2.6.0.jar添加到项目的构建路径。在Eclipse中打开翻译 2013-06-29 17:34:22 · 6682 阅读 · 8 评论 -
ORA-01791:不是SElECTed表达式
query="select distinct dwbm,area_no,dwmc,role_no,zgbm_no from s_mtab where role_no between 2 and 3 and (substr(zgbm_no,1,4)='6101' or dwbm=6101) and area_no is not null order by area_no "; 莫名其妙的报错信息。转载 2012-12-12 08:31:06 · 1314 阅读 · 0 评论 -
PowerDesigner出现you need to install VBScript before you can run scripts的解决办法
开始菜单>运行: regsvr32 vbscript.dll转载 2012-09-15 15:35:42 · 1436 阅读 · 0 评论 -
MyEclipse 相关error
An internal error occurred during: restarting server... Invalid thread access Eclipse崩溃了!没事的!重启就可以了,不影响! 内部错误就是说Eclipse坏掉了,重装或换个新版本。重装指的是删除后再装,不是覆盖原来的安装。转载 2012-03-05 15:37:39 · 2161 阅读 · 0 评论 -
JSP 解决illegal to have multiple occurrences of contentType with different values错误
今天写jsp程序,在一个文件中包含了另一个文件(checkPurview.jsp)来做权限验证,可执行候却出现执行错误: org.apache.jasper.JasperException: /admin/adminUser/../incs/checkPurview.jsp(1,1) Page directive: illegal to have multiple occurrenc转载 2012-03-08 08:13:30 · 1793 阅读 · 1 评论 -
J2EE Struts2关于"There is no Action mapped for namespace / and action name UserAction"的调试
最近一段时在学习着使用Struts2的框架,自己写了一个例子,可是刚上来就遇到了一个让我头痛的问题。 There is no Action mapped for namespace / and action name UserAction 在网上找了好久才找解到的方法,其实是因为我的struts.xml文件放错了位置,服务器没有加载上导制。 之后将struts.xml文件移到src目录下就可转载 2012-03-21 15:04:28 · 2161 阅读 · 0 评论 -
开发环境部署到服务器:An internal error occurred during: "Redeploy"
使用MyEclipse的SVN插件check out下来一个项目,在deploy到服务器的时候出现:An internal error occurred during: "Redeploy". java.lang.NullPointerException这样的错误 百思不得其解,因为此项目在同事的电脑上使用MyEclipse部署都没有问题,部署其他的项目也没有问题,初期以为是MyEclipse转载 2012-03-28 09:18:06 · 11147 阅读 · 1 评论 -
MyEclipse import com.sun.image.codec.jpeg.JPEGCodec;
在Eclipse中处理图片,需要引入两个包: import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPEGImageEncoder; 报错: Access restriction: The type JPEGImageEncoder is not accessible due to restr转载 2012-04-17 19:34:49 · 2222 阅读 · 0 评论 -
JSP Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive
Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive(utf-8)问题 项目部署到我的机子上,可以运行,但在打开一些页面时会出现错误:org.apache.jasper.JasperException:/htpec/pecNodeComponentU转载 2012-06-25 16:31:46 · 11904 阅读 · 0 评论 -
java.sql.SQLException: ORA-00911: invalid character 解决方法
控制台抛出这个异常:java.sql.SQLException: ORA-00911: invalid character 查了一下说是oracle字符集设置的问题。我将抛异常的SQL语句在控制台输出如下: select count(t.id) as onerowc,t.id as areatravelid ,b.id as airpotid from base_areatravel t in转载 2012-06-25 08:37:43 · 2694 阅读 · 0 评论 -
java.sql.SQLException: Can't call commit when autocommit=true
当我在数据库更新,插入,删除等方法中使用了commit(),rollback()等方法时,往往会报出如下的异常: java.sql.SQLException: Can't call commit when autocommit=true java.sql.SQLException: Can't call commit when autocommit=true等 开始没弄明白怎么回事,后来解决转载 2012-05-22 22:16:55 · 15333 阅读 · 7 评论 -
ERROR 2003:Can't connect to MySQL server on 'localhost' (10061)
MySQL出现10061错误解决办法 ERROR 2003:Can't connect to MySQL server on 'localhost' (10061) 如果出现"ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)", 说明本地的MySQL还没有启动。 如果出现"ERROR 2003: Can't转载 2012-02-14 16:29:19 · 1386 阅读 · 0 评论