首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

jboss报错org.jboss.deployment.DeploymentException: Error in ejb-jar.xml, i

2014-01-26 
jboss启动时出现如下错误ERROR [MainDeployer] could not create deployment: file:/D:/jboss-3.0.8_tomcat

jboss启动时出现如下错误
  ERROR [MainDeployer] could not create deployment: file:/D:/jboss-3.
  0.8_tomcat-4.1.24/server/default/deploy/family.jar/
  org.jboss.deployment.DeploymentException: Error in ejb-jar.xml, in container-tra
  nsaction: bean PreEditSaveSession doesn't exist
 
  下面是ejb-jar.xml
  <?xml version="1.0" encoding="gb2312"?>
 
  <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
 
  "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
 
  <ejb-jar>
  <enterprise-beans>
  <session>
  <display-name>PreEditSaveSession</display-name>
    <ejb-name>PreEditSaveSessison</ejb-name>
    <home>ejb.session.preeditsave.PreEditSaveSessionHome</home>
    <remote>ejb.session.preeditsave.PreEditSaveSession</remote>
    <ejb-class>ejb.session.preeditsave.PreEditSaveSessionBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
  </session>
  <entity>
  <description>PreExpenses</description>
  <display-name>PreExpenses</display-name>
  <ejb-name>PreExpenses</ejb-name>
  <home>ejb.entity.preexpenses.PreExpensesHome</home>
  <remote>ejb.entity.preexpenses.PreExpenses</remote>
  <ejb-class>ejb.entity.preexpenses.PreExpensesBean</ejb-class>
  <persistence-type>Container</persistence-type>
  <prim-key-class>ejb.entity.preexpenses.PreExpensesPK</prim-key-class>
  <reentrant>False</reentrant>
  <cmp-version>2.x</cmp-version>
  <abstract-schema-name>PreExpenses</abstract-schema-name>
  <cmp-field>
  <field-name>id</field-name>
  </cmp-field>
  <cmp-field>
  <field-name>month</field-name>
  </cmp-field>
  <cmp-field>
  <field-name>year</field-name>
  </cmp-field>
  <cmp-field>
  <field-name>expensesType</field-name>
  </cmp-field>
  <cmp-field>
  <field-name>charge</field-name>
  </cmp-field>
  <cmp-field>
  <field-name>remarks</field-name>
  </cmp-field>
  </entity>
  </enterprise-beans>
  <assembly-descriptor>
  <container-transaction>
  <method>         

热点排行