这是我的POJO类:package com.hbzq.pojo;import java.util.Date;public class Gazette { private Long gId; private String gName; private String gAbout; private Date gDate; private Long gNumber; private String gNote; public Gazette() {
} public Gazette(String gName, String gAbout, Date gDate, Long gNumber,
String gNote) {
this.gName = gName;
this.gAbout = gAbout;
this.gDate = gDate;
this.gNumber = gNumber;
this.gNote = gNote;
} public String getGAbout() {
return gAbout;
} public void setGAbout(String about) {
gAbout = about;
} public Date getGDate() {
return gDate;
} public void setGDate(Date date) {
gDate = date;
} public String getGName() {
return gName;
} public void setGName(String name) {
gName = name;
} public String getGNote() {
return gNote;
} public void setGNote(String note) {
gNote = note;
} public Long getGNumber() {
return gNumber;
} public void setGNumber(Long number) {
gNumber = number;
} public Long getGId() {
return gId;
} public void setGId(Long id) {
gId = id;
}}这是配置文件:<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- 
    Mapping file autogenerated by MyEclipse Persistence Tools
-->
<hibernate-mapping>
    <class name="com.hbzq.pojo.Gazette" table="gazette" catalog="db">
        <id name="gId" type="java.lang.Long">
            <column name="g_id" />
            <generator class="native" />
        </id>
        <property name="gName" type="java.lang.String">
            <column name="g_name" length="50" not-null="true" />
        </property>
        <property name="gAbout" type="java.lang.String">
            <column name="g_about" length="50" not-null="true" />
        </property>
        <property name="gDate" type="java.util.Date">
         <column name="" length="10" not-null="true" />
        </property>
        <property name="gNumber" type="java.lang.Long">
         <column name="g_number" not-null="true"></column>
        </property>
        <property name="gNote" type="java.lang.String">
         <column name="g_note" length="50" not-null="false" ></column>
        </property>
    </class>
</hibernate-mapping>下面是错误信息
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.PropertyNotFoundException: Could not find a getter for gId in class com.hbzq.pojo.Gazette请帮忙看看怎么解决!!