---
title: " ,转--.xdoclet生成hibernate映射文件，property标签里多了access=\"field\"问题？"
author: "afeifqh"
date: "2012-03-01T16:23:14Z"
tags: []
categories: ["企业架构"]
slug: "xdoclet-hibernate-property-access-field"
draft: false
lastmod: "2012-03-01T16:23:14Z"
id: 1434467
url: "https://fqh.iteye.com/blog/1434467"
---

1. 打开xdoclet-plugins-1.0.3/plugins/xdoclet-plugin-hibernate-1.0.3.jar 

2. winrar打开并找到 org/xdoclet/plugin/hibernate/property.jelly文件 

3. 将其解压后将property标签中的access="${property.access}"去掉 

4. 将修改好的property.jelly 覆盖掉原来位置上的property.jelly 

5. 生成hibernate映射文件，property标签里就没有access="field"了 


转自 http://blog.csdn.net/wangjun_pfc/article/details/3446995