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

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

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

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

GoogleCodeExporter opened this issue Mar 28, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link


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:

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