hibernate 逆向工程问题
2015-03-29 19:26
363 查看
org.hibernate.tool.hbm2x.ExporterException: Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
org.hibernate.tool.hbm2x.ExporterException: Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
freemarker.core.InvalidReferenceException: Expression pojo.generateManyToOneAnnotation is undefined on line 13, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl.
Expression pojo.generateManyToOneAnnotation is undefined on line 13, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl.
在进行hibernate的逆向工程时,报错这个错误 。
解决办法 :
在进行逆向工程时,选中这两个(一个xml一个Domain code)就好了。
Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
org.hibernate.tool.hbm2x.ExporterException: Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
freemarker.core.InvalidReferenceException: Expression pojo.generateManyToOneAnnotation is undefined on line 13, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl.
Expression pojo.generateManyToOneAnnotation is undefined on line 13, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl.
在进行hibernate的逆向工程时,报错这个错误 。
解决办法 :
在进行逆向工程时,选中这两个(一个xml一个Domain code)就好了。
相关文章推荐
- 逆向工程中的有关问题:Hibernate project not selected 解决方式
- MyEclipse6.0 Hibernate逆向工程对应问题
- Myeclipse完成hibernate的逆向工程中数据库子节点无法展开问题
- MyEclipse使用hibernate正向工程和逆向工程
- 使用myeclipse的hibernate reverse engineering(反向工程)的两个问题
- Hibernate 逆向工程生成POJO类和映射文件
- MyEclipse6.5通过Hibernate逆向工程生成的映射文件和pojo(bean)不在相同目录解决
- 用HIBERNATE反向工程生成POJO后配置文件没有更新的问题
- 使用Myeclipse完成Hibernate的逆向工程
- Entity Framework的逆向工程时报错问题
- ssh的Hibernate逆向工程
- Hibernate的导入和逆向工程生成JavaBean
- Rational Rose 逆向工程(java) 常见问题二则
- Hibernate逆向工程示例
- 软件破解常见的问题-逆向工程的应用
- hibernate在eclipse的逆向工程生成hbm.xml和bean类
- 软件破解常见的问题-逆向工程的应用
- 用myeclipse创建spring+hibernate工程时候的jar包冲突问题!!!
- Hibernate逆向工程出现Generating Artifacts错误解决
- 使用Myeclipse完成Hibernate的逆向工程