您的位置:首页 > 其它

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)就好了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  逆向工程 hibernate