1."org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package 这是由于struts 提供的commons-beanutils.jar 和 hibernate 提供的commons-collections.jar 冲突成的, 可以从spring 提供的lib 中找到这个两个jar 2.java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.IdentNode 用hql 时,忘了给表名加别名,如select p from Position,应该是select p from Position p 3.The Server didn 't send back a proper XML response 用FCKEditor 时 原因:解析不了xml 文件 解决方法: 情况一:web.xml 的配置是否正确,具体查看《FCKEditor 使用指南.pdf》,还有 fckeditor 自带的几个jar包 情况二:加入 serializer.jar,xalan.jar 情况三:把项目下的fckeditor 包删了,重新加入一遍 4.org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] SWTError:没有更多的处理[未知 Mozilla 的路径(MOZILLA_FIVE_HOME 未设置)] 环境:linux 下运行 swt 程序(我出现此问题是,在 linux 下嵌套浏览器) 原因:firefox 版本不一致 解决:重装一个firefox,并设置相关变量 5.Exception in thread "main" org.eclipse.swt.SWTError: No more handles [Could not detect registered XULRunner to use] 环境:用XULRunner 在 java application 中嵌套浏览器 原因:没有注册 XULRunner 解决:window 下环境中,在程序中加入,如(第二个参数是下载解压后的存放路径): static{ System.setProperty("org.eclipse.swt.browser.XULRunnerPath", "C:\\xulrunner"); } 6.Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3536 or swt-win32 in swt.library.path, java.library.path or the jar file 环境:用DJ Natvie Swing 时,在java application 中嵌套浏览器,且在windows 环境下运行正常, 但在linux下却包此异常 原因:windows 下与linux下使用的swt jar 包不一样 解决:在windows 下用swt-3.5M6-win32-win32-x86.jar,在linux下用swt-3.5.1-gtk-linux-x86.jar 7.Exception in thread "main" java.net.ProtocolExcepti...