kahnlv / rapid-framework

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

ibaits3生成后没有找到 对应的mapper文件 #98

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

rapid版本:4.5

使用的相关插件组合是: iabits3 spring struts2

按如下步骤重现错误:
1.生成hibiernate的代码,能够正常运行
2.想用install_dao_ibatis3 插件时,能够生成完成,输出如下:
Buildfile: /app/mrj/F/javaAuto/ddddd/plugins/build.xml
install_dao_ibatis3:
_install_plugin_with_plugin_name:
     [echo] 安装插件:ibatis3
_test_plugin_is_exists:
_run_plugin_install:
     [echo] 拷贝"ibatis3"目录下的内容至项目根目录
     [copy] Copying 8 files to /app/mrj/F/javaAuto/ddddd
     [copy] Copying /app/mrj/F/javaAuto/ddddd/plugins/ibatis3/java_src/configuration.xml to /app/mrj/F/javaAuto/ddddd/java_src/configuration.xml
     [copy] Copying /app/mrj/F/javaAuto/ddddd/plugins/ibatis3/java_src/javacommon/SqlSessionFactoryFactoryBean.java to /app/mrj/F/javaAuto/ddddd/java_src/javacommon/SqlSessionFactoryFactoryBean.java
     [copy] Copying /app/mrj/F/javaAuto/ddddd/plugins/ibatis3/java_src/javacommon/base/BaseIbatis3Dao.java to /app/mrj/F/javaAuto/ddddd/java_src/javacommon/base/BaseIbatis3Dao.java
     [copy] Copying /app/mrj/F/javaAuto/ddddd/plugins/ibatis3/java_src/spring/applicationContext-ibatis3-dao.xml to /app/mrj/F/javaAuto/ddddd/java_src/spring/applicationContext-ibatis3-dao.xml
     [copy] Copying /app/mrj/F/javaAuto/ddddd/plugins/ibatis3/template/java_src/${basepackage_dir}/dao/${className}Dao.java to /app/mrj/F/javaAuto/ddddd/template/java_src/${basepackage_dir}/dao/${className}Dao.java
     [copy] Copying /app/mrj/F/javaAuto/ddddd/plugins/ibatis3/template/java_src/${basepackage_dir}/model/${className}.java to /app/mrj/F/javaAuto/ddddd/template/java_src/${basepackage_dir}/model/${className}.java
     [copy] Copying /app/mrj/F/javaAuto/ddddd/plugins/ibatis3/template/java_src/${basepackage_dir}/model/mapper/${className}Mapper.xml to /app/mrj/F/javaAuto/ddddd/template/java_src/${basepackage_dir}/model/mapper/${className}Mapper.xml
     [copy] Copying /app/mrj/F/javaAuto/ddddd/plugins/ibatis3/web/WEB-INF/lib/mybatis-3.0.2.jar to /app/mrj/F/javaAuto/ddddd/web/WEB-INF/lib/mybatis-3.0.2.jar
_merge_web_xml:
_merge_pom_xml:
BUILD SUCCESSFUL
Total time: 400 milliseconds

期待的结果是:
能够找到对应的ibatis3对应的class 的×××mapper.xml文件
可是没找到,没有生成

、
java的error stack trace:
项目能够启动,但是当访问页面:http://localhost:8080/ddddd/pages/C
rmGuest/list.do 时
报错:
 在附加的文件中

Original issue reported on code.google.com by merry0...@gmail.com on 27 Apr 2014 at 9:24

Attachments: