Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装时出错 #81

Open
GoogleCodeExporter opened this issue Mar 28, 2016 · 3 comments
Open

安装时出错 #81

GoogleCodeExporter opened this issue Mar 28, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

新建问题前你可以搜索是否已经存在该问题或是查看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
Copy link
Author

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

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

@GoogleCodeExporter
Copy link
Author

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

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

@GoogleCodeExporter
Copy link
Author

我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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant