
Exception
iteye_21104
这个作者很懒,什么都没留下…
展开
-
支付宝支付成功但是验证失败原因
1.公网IP服务器2.乱码问题[img]http://dl.iteye.com/upload/picture/pic/105138/c65a072d-3bed-3ada-855d-e1f6a49a8c90.jpg[/img][img]http://dl.iteye.com/upload/picture/pic/105136/a613360d-3052-3681-8aef-0c983...2011-12-30 09:04:45 · 1964 阅读 · 0 评论 -
对只转发结果集的无效操作: last
[code="java"]将statement定义成statement = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);允许结果集可移动。[/code]原创 2012-06-15 17:46:08 · 154 阅读 · 0 评论 -
通过url传参在Struts2的Action中得不到值的问题
[code="js"]xmlhttp.open("GET", "queryForChannelnode.action?nAddress=" + nAddress,true);[/code]这个nAddress在Action中得不到值,我将变量private改成public后,成功。[code="java"]public String nAddress; public Stri...原创 2012-06-08 09:56:09 · 513 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
[code="java"]E:\Program Files\Genuitec\Common\plugins\com.genuitec.eclipse.j2eedt.core_8.5.0.me201003231033\data\libraryset\EE_5[/code][code="java"]这个路径里,可以看到javaee.jar,用rar把这个文件打开,然后进到javax文件夹里,删除m...原创 2012-05-24 11:16:21 · 157 阅读 · 0 评论 -
node to traverse cannot be null!
HQL中少了逗号原创 2012-05-15 15:54:31 · 91 阅读 · 0 评论 -
Null value was assigned to a property of primitive type setter of
错误信息所指的字段在数据库中为null,解决办法是为它们附上默认值原创 2012-09-26 17:01:58 · 89 阅读 · 0 评论 -
could not find the required version of the Java(TM)2 Runtime Environment in '(nu
[img]http://dl.iteye.com/upload/picture/pic/125532/db892442-84dd-3950-9a12-77acb489265f.png[/img][img]http://dl.iteye.com/upload/picture/pic/125526/5457628c-7074-364d-bda6-31c3ad4e1acb.png[/img]...原创 2013-05-15 20:31:50 · 297 阅读 · 0 评论 -
node to traverse cannot be null!
[code="java"]HQL中缺少逗号[/code]原创 2012-03-30 15:59:19 · 114 阅读 · 0 评论 -
org.hibernate.PropertyAccessException
[code="java"]IllegalArgumentException occurred while calling setter of com.baitw.hibernate.entity.TNews.state[/code][code="java"]原因:对应bean中set方法数据类型和hibernate配置文件中定义的类型不一致[/code]...原创 2012-03-14 09:16:26 · 270 阅读 · 0 评论 -
target is null for setProperty(null, "x", [Ljava.lang.String;@ef1df6)
[code="xml"]表单提交时,Strus2接收到了未定义参数。一般删除多余的表单name属性就好了。[/code]原创 2012-03-07 16:42:44 · 89 阅读 · 0 评论 -
Unable to locate appropriate constructor on class
[code="java"]public List GetTop5NewsTitle(String type) { // TODO Auto-generated method stub Session session=HibernateSessionFactory.getSession(); Query query=session.createQuery ("select n...原创 2012-03-07 09:09:25 · 267 阅读 · 0 评论 -
Servlet mapping specifies an unknown servlet name
[color=green]原因和顺序弄反,解决方法先定义Servlet再映射。[/color]原创 2012-07-28 09:58:49 · 658 阅读 · 1 评论 -
创建数据库失败(ORA-01503,ORA-00058)
[code="java"]DB_BLOCK_SIZE 的设置出问题,Oracle只有2k, 4k, 8k,16k, 32k的数据块!这里是6144,改成8192即可[/code]原创 2012-02-22 09:33:01 · 1112 阅读 · 0 评论 -
org.directwebremoting.extend.MarshallException: Error marshalling
[color=green]POJO类不是一个JavaBean,可能是没有一个无参构造函数[/color][code="java"]警告: Marshalling exceptionorg.directwebremoting.extend.MarshallException: Error marshalling com.demo.entity.User: com.demo.entity....原创 2012-07-17 10:06:29 · 369 阅读 · 0 评论 -
javax.persistence.EntityListeners
[img]http://dl.iteye.com/upload/picture/pic/127727/f18218d3-ee7f-3f5c-86cd-ea27caaa957c.png[/img][code="java"]Exception in thread "main" java.lang.NoClassDefFoundError: javax/persistence/EntityListe...原创 2013-09-25 19:03:37 · 434 阅读 · 0 评论