Issue 81 in rapid-framework: 安装时出错

27 views
Skip to first unread message

rapid-f...@googlecode.com

unread,
Aug 11, 2011, 3:04:16 AM8/11/11
to rapid-f...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 81 by lanren...@gmail.com: 安装时出错
http://code.google.com/p/rapid-framework/issues/detail?id=81

新建问题前你可以搜索是否已经存在该问题或是查看google
group

rapid版本:3.9.3

使用的相关插件组合是:ibatis,struts2,oracle数据库。
操作系统:WIN7
JAVA:32位JAVA

按如下步骤重现错误:
1.按安装手册,修改完配置后运行GeneratorMain.java
2.WIN7系统报错错误为:WIN找不到d:\generator-output路径,请参见附件。

期待的结果是:
生成我期望的文件。

java的error stack trace:
Start Load GeneratorPropeties from classpath:[generator.properties,
generator.xml]
GeneratorPropeties Load
Success,files:[/D:/work/WAS/struts2_demo/build/classes/generator.xml]
[Property] java_typemapping.java.sql.Timestamp=java.util.Date
[Property] jdbc.password=mbconfig
[Property] databaseType=oracle
[Property] jdbc.url=jdbc:oracle:thin:@10.192.200.42:1521:ORCL
[Property] java_typemapping.java.math.BigDecimal=Long
[Property] jdbc.username=mbconfig
[Property] jdbc.driver=oracle.jdbc.driver.OracleDriver
[Property] java_typemapping.java.sql.Date=java.util.Date
[Property] namespace=pages
[Property] jdbc.schema=mbconfig
[Property] basepackage=com.company.project
[Property] tableRemovePrefixes=
[Property] java_typemapping.java.sql.Clob=String
[Property] outRoot=d:\generator-output
[Property] java_typemapping.java.lang.Byte=Integer
[Property] java_typemapping.java.lang.Short=Integer
[Property] java_typemapping.java.sql.Time=java.util.Date
[Property] jdbc.catalog=

[Auto Replace] [.] => [/] on generator.properties, key=source_key+'_dir',
For example: pkg=com.company ==> pkg_dir=com/company

[delete dir] d:\generator-output


其它错误信息:


Attachments:
err.png 5.7 KB

rapid-f...@googlecode.com

unread,
Aug 11, 2011, 3:08:23 AM8/11/11
to rapid-f...@googlegroups.com

Comment #1 on issue 81 by lanren...@gmail.com: 安装时出错
http://code.google.com/p/rapid-framework/issues/detail?id=81

我新建了generator-outpu目录还是报错,生成不了文件。

rapid-f...@googlecode.com

unread,
Sep 19, 2011, 4:22:21 AM9/19/11
to rapid-f...@googlegroups.com

Comment #2 on issue 81 by newf...@gmail.com: 安装时出错
http://code.google.com/p/rapid-framework/issues/detail?id=81

我在win7下也遇到同样的问题。奇怪的是这个问题在xp下不存在。

rapid-f...@googlecode.com

unread,
Feb 21, 2012, 9:24:14 PM2/21/12
to rapid-f...@googlegroups.com

Comment #3 on issue 81 by realhots...@gmail.com: 安装时出错
http://code.google.com/p/rapid-framework/issues/detail?id=81

我win7下没有这个问题,我用的是myeclipse6.0,我部署的时候报错,报
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.NoClassDefFoundError: java/sql/SQLClientInfoException
at
net.sf.log4jdbc.DataSourceSpyInterceptor.invoke(DataSourceSpyInterceptor.java:24)



Reply all
Reply to author
Forward
0 new messages