2024年3月21日发(作者:)
1."cedHashMap"'s signer
information does not match signer information of other classes in the
same package
这是由于struts提供的和 hibernate提供的冲突成的,
可以从spring提供的lib中找到这个两个jar
lStateException: No data type for node:
ode
用hql 时,忘了给表名加别名,如select p from Position,应该是select p from Position p
Server didn 't send back a proper XML response
用FCKEditor时
原因:解析不了xml文件
解决方法:
情况一:的配置是否正确,具体查看《FCKEditor使用指南.pdf》,还有fckeditor自带的几个jar
包
情况二:加入,
情况三:把项目下的fckeditor包删了,重新加入一遍
or: No more handles [Unknown Mozilla path
(MOZILLA_FIVE_HOME not set)]
SWTError:没有更多的处理[未知Mozilla的路径
(MOZILLA_FIVE_HOME未设置)]
环境:linux下运行swt程序(我出现此问题是,在linux下嵌套浏览器)
原因:firefox版本不一致
解决:重装一个firefox,并设置相关变量
ion in thread "main" or: No more
handles [Could not detect registered XULRunner to use]
环境:用XULRunner 在java application中嵌套浏览器
原因:没有注册XULRunner
解决:window下环境中,在程序中加入,如(第二个参数是下载解压后的存放路径):
static{
perty("nerPath", "C:xulrunner");
}
ion in thread "main" sfiedLinkError: no
swt-win32-3536 or swt-win32 in , or
the jar file
环境:用DJ Natvie Swing时,在java application中嵌套浏览器,且在windows环境下运行正常,
但在linux下却包此异常
原因:windows下与linux下使用的swt jar包不一样
解决:在windows下用,在linux下用
ion in thread "main" olException:
cannot write to a URLConnection if doOutput=false - call setDoOutput(true)
环境: 用URLConnection送某url发送数据时
原因: doOutput=false时,不能发送数据
解决: 如 utput(true)
8..Exception: Connection reset
at (:168)
at tes(:264)
at ad(:306)
at (:158)
at (:167)
at (:136)
at ne(:299)
at ne(:362)
at (:43)
环境:j2se socket编程时,服务器端报错
原因1:服务器端用BufferedReader,时,没有读到一行
解决:客户端用PrintWriter, n(),不能用(),因为ne()是读一行
环境:j2se socket编程时,服务器端/客户端在ne()时报错
原因2:服务器端用BufferedReader,ne()时,客户端/服务器已经退出,但是并未通过服务器/客
户端,
即服务器端/客户端的socket还没有关闭,当用ne()时就会出现这种情况
解决:在关闭客户端时要(),同时还要向服务器发送一条退出的信息,这样让服务器知道某个
客户端已经关闭,它就可以终止对此客户端的线程了,反之服务器也是一样
tyAccessException: Null value was assigned to
a property of primitive type setter of
环境:hibernate
原因:oolean类型的值为null,boolean类型的值必须是true/false
解决:save or update时给boolean类型的值赋true/false
10.用占位符查询时出现空指针interException
at
edParameterExpectedType(ParameterTranslat
:63)
at arameterMetadata(:245)
at ryPlan.
at ryPlan.
发布评论