您的位置:首页 > 移动开发

bug开会

2007-10-12 14:53 253 查看
 

 

#####################eclipse
1.The validator XML Schema Validator is a delegating validator but no delegate can found for it.
在创建项目时选Apache XML Beans即可。

2.org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/struts/tags-logic cannot be resolved in either web.xml or the jar files deployed with this application

3.Initial SessionFactory creation failed.org.hibernate.MappingException: Could not determine type for: String, for columns: [org.hibernate.mapping.Column(code)]
在xbm.xml<property name="***" column="****" type="String" />,把String改为小写的string即可。

4.The validator WSDL Validator is a delegating validator but no delegate can found for it.
装了了个tomcatPluginV32.zip,却没有在ECLIPSE对其设置。不要装tomcatPluginV32.zip,直接用ECLIPSE中提供的SERVER做服务器的设置。如果装了tomcatPluginV32.zip,对其也进行相关设置,就没这个错误提示了。

5.org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/struts/tags-logic cannot be resolved in either web.xml or the jar files deployed with this application
在lib中是否有struts-taglib-1.3.5.jar等相关文件,还有检查jsp文件中
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>相关tag是的路径是否正确

6.struts支持多语言时候,汉字出现乱码。
jsp等已经使用了utf-8编码,但还是出现乱码,将可能是中文资源包含其他编码的汉字,在DOS下用jdk/bin/native2ascii.exe,处理一下,格式参考如下:C:/j2sdk1.4.2_15/bin>native2ascii.exe -encoding UTF-8 language_zh_.properties la
nguage_zh_CN.properties

7.org.hibernate.InvalidMappingException:Counld not parse mapping document from file ***.hbm.xml由XML映射文件生成JAVA或数据库表时报的错
在Create Hibernate Console Configuration 时,指定的Configuration file 需要是个特别的hibernate.cfg.xml文件,其里面不能包含<mapping resource="com/extension/pojo/××××.hbm.xml"/>

###################代码优化及数据处理加速
1.将上万条渠道数据生成树形结构

 

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息