hope-onely / rapid-framework

Automatically exported from code.google.com/p/rapid-framework
0 stars 0 forks source link

安装时出错 #81

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
新建问题前你可以搜索是否已经存在该问题或是查看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

其它错误信息:

Original issue reported on code.google.com by lanren...@gmail.com on 11 Aug 2011 at 7:03

Attachments:

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

Original comment by lanren...@gmail.com on 11 Aug 2011 at 7:05

GoogleCodeExporter commented 8 years ago
我在win7下也遇到同样的问题。奇怪的是这个问题在xp下不存��
�。

Original comment by newf...@gmail.com on 19 Sep 2011 at 8:21

GoogleCodeExporter commented 8 years ago
我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) 

Original comment by realhots...@gmail.com on 22 Feb 2012 at 2:23