Issue 84 in rapid-framework: 使用的时候发现的一些问题

10 views
Skip to first unread message

rapid-f...@googlecode.com

unread,
Aug 18, 2011, 12:37:25 AM8/18/11
to rapid-f...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 84 by mama...@126.com: 使用的时候发现的一些问题
http://code.google.com/p/rapid-framework/issues/detail?id=84

rapid版本: 3.9.3

【问题1】

在执行到

运行代码生成器 GeneratorMain.java

这一步的时候,执行之前要添加
xerces-2.3.0.jar

执行完之后,要去掉xerces-2.3.0.jar

否则会因为当前是 jdk1.6 使用的j.5特性 会发生版本冲突

要不就换成1.6 ,添加上xerces-2.3.0.jar

但是启动的时候还是会报错

也就是说,使用1.6的jdk,在使用GeneratorMain.java之前要添加上
xerces-2.3.0.jar,在启动项目之前要去掉xerces-2.3.0.jar


【问题2】


log4j.properties里面的路径要换下,不然不知道日志生成到什么地方了


【问题3】

struts.xml里面的配置要改下

<constant name="struts.enable.DynamicMethodInvocation" value="false" />
改成
<constant name="struts.enable.DynamicMethodInvocation" value="true" />


【问题4】

javacommon.base.BaseHibernateDao.java 这个里面


import org.hibernate.criterion.Expression;
这个过时了,要换成
import org.hibernate.criterion.Projections;

下面的
Expression.eq(propertyName,value)
也要换成
Restrictions.eq(propertyName,value)

Reply all
Reply to author
Forward
0 new messages