代码如下:
package test.ejb;import java.rmi.RemoteException;
import java.sql.Date;import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.RemoveException;import javax.ejb.CreateException;import com.sun.org.apache.bcel.internal.classfile.Signature;/**
 * 
 * @ejb.bean name="BankBookDetail" display-name="Name for BankBookDetail"
 *           jndi-name="ejb/BankBookDetail" type="CMP" cmp-version="2.x"
 *           description="Description for BankBookDetail"
 *           view-type="remote"
 *           
 * primkey-field = "voucherId" 
 * @ejb.persistence table-name = "bankbookDetail"
 * @ejb:util generate="physical"
 * 
 * @ejb.finder query = "select object(b) from BankBookDetail as b"
 *             result-type-mapping = "Local" signature = "java.util.Collection
 *             findAll()"
 * 
 * @ejb.finder query = "select object(b) from BankBookDetail as b where
 *             b.fillDate >= ?1 and" + " b.fillDate <= ?2" result-type-mapping =
 *             "Local" signature = "java.util.Collection ejbFindByDate(Date
 *             date1, Date date2)"
 * 
 * @ejb.finder query = "select object(b) from BankBookDetail as b where
 *             b.fillDate >= ?2 and" + " b.fillDate <= ?3 and b.bookId = ?1"
 *             result-type-mapping = "Local" signature = "java.util.Collection
 *             ejbFindByDateBookId(String bookId, Date date1,Date date2)"
 * 
 */
public abstract class BankBookDetailBean implements EntityBean { /** The entity context */
private EntityContext context;

/**
 * @ejb.interface-method view-type = "remote"
 * @ejb.persistence column-name = "voucherId"
 * @ejb.pk-field
 * @return
 */
public abstract String getVoucherId();
/**
 * 设置 voucherId 字段值
 * 
 * @ejb.interface-method view-type = "remote"
 * @param voucherId
 */
public abstract void setVoucherId(String voucherId);

/**
 * @ejb.interface-method view-type = "remote"
 * @ejb.persistence column-name = "fillDate"
 * @return
 */
public abstract Date getFillDate(); /**
 * 设置 fillDate 字段值
 * 
 * @ejb.interface-method view-type = "remote"
 * @param fillDate
 */
public abstract void setFillDate(Date fillDate); /**
 * @ejb.interface-method view-type = "remote"
 * @ejb.persistence column-name = "filler"
 * @return
 */
public abstract String getFiller(); /**
 * 设置 filler 字段值
 * 
 * @ejb.interface-method view-type = "remote"
 * @param filler
 */
public abstract void setFiller(String filler); /**
 * @ejb.interface-method view-type = "remote"
 * @ejb.persistence column-name = "credit"
 * @return
 */
public abstract double getCredit(); /**
 * 设置 credit 字段值
 * 
 * @ejb.interface-method view-type = "remote"
 * @param credit
 */
public abstract void setCredit(double credit); /**
 * @ejb.interface-method view-type = "remote"
 * @ejb.persistence column-name = "debit"
 * @return
 */
public abstract double getDebit(); /**
 * 设置 debit 字段值
 * 
 * @ejb.interface-method view-type = "remote"
 * @param debit
 */
public abstract void setDebit(double debit); /**
 * @ejb.interface-method view-type = "remote"
 * @ejb.persistence column-name = "bookId"
 * @return
 */
public abstract String getBookId(); /**
 * 设置 bookId 字段值
 * 
 * @ejb.interface-method view-type = "remote"
 * @param bookId
 */
public abstract void setBookId(String bookId);
public BankBookDetailBean() {
// TODO Auto-generated constructor stub
} /**
 * @throws CreateException
 *             Thrown if method fails due to system-level error.
 * 
 * @throws CreateException
 * 
 * @ejb.create-method
 */
public String ejbCreate() throws CreateException {
return null;
} /**
 * @throws CreateException
 *             Thrown if method fails due to system-level error.
 */
public void ejbPostCreate() throws CreateException {
} public void ejbActivate() throws EJBException, RemoteException {
// TODO Auto-generated method stub } public void ejbLoad() throws EJBException, RemoteException {
// TODO Auto-generated method stub } public void ejbPassivate() throws EJBException, RemoteException {
// TODO Auto-generated method stub } public void ejbRemove() throws RemoveException, EJBException,
RemoteException {
// TODO Auto-generated method stub } public void ejbStore() throws EJBException, RemoteException {
// TODO Auto-generated method stub } /**
 * @throws EJBException
 *             Thrown if method fails due to system-level error.
 */
public void setEntityContext(EntityContext newContext) throws EJBException {
context = newContext;
} /**
 * @throws EJBException
 *             Thrown if method fails due to system-level error.
 */
public void unsetEntityContext() throws EJBException {
context = null;
} /*
 * private String voucherId; private String bookId; private double debit;
 * private double credit; private String filler; private Date fillDate;
 */
}使用xdoclet工具进行生成后,在weblogic9服务器进行部署的时候报错
weblogic.application.ModuleException: [EJB:011025]The XML parser encountered an error in your deployment descriptor. Please ensure that your DOCTYPE is correct. You may wish to compare your deployment descriptors with the WebLogic Server examples to ensure the format is correct. The error was:weblogic.xml.process.SAXValidationException: [EJB:012021]Error: No persistence-type element was declared with the type-identifier 'WebLogic_CMP_RDBMS' and '7.0' for the EJB 'BankBookDetail'. Make sure your persistence-use declaration matches up with one of your persistence-type declarations for this EJB in the weblogic-ejb-jar.xml file..请问我写的Bean代码哪里出错了
我仅仅在xdoclet中配置weblogic的destSrc值为META-INF
是否还需要配置什么信息