高手帮忙:我的EJB怎么总是部署不上去呢?

03-12-09 he_ys

我做了一个EJB 包名叫erp.pur.components

包里面包括 AccountPeriodFacadeHome.java 文件

jar包叫erp.pur.jar

webservice 用的是weblogic8.1

在我部署的时候 系统总是提示如下错误信息:Exception:weblogic.management.ApplicationException: prepare failed for erp.pur Module: erp.pur Error: Exception preparing module: EJBModule(erp.pur,status=NEW) Unable to deploy EJB: erp.pur.jar from erp.pur.jar: Class not found: Lerp/pdm/components/AccountPeriodFacadeHome; java.lang.NoClassDefFoundError: Class not found: Lerp/pdm/components/AccountPeriodFacadeHome; at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:287) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847) at

我搞不明白 我的包是 erp/pdm/components

而webligic为什么会去找 Lerp/pdm/components

我用的是weblogic8.1

he_ys
2003-12-09 14:05

我做了一个EJB 包名叫erp.pur.components

另外有一个包叫 erp.pdm.components

erp.pdm.components 包里面包括AccountPeriodFacadeHome.java 文件

jar包叫erp.pur.jar

webservice 用的是weblogic8.1

在我部署的时候 系统总是提示如下错误信息:

Exception:weblogic.management.ApplicationException: prepare failed for erp.pur Module: erp.pur Error: Exception preparing module: EJBModule(erp.pur,status=NEW) Unable to deploy EJB: erp.pur.jar from erp.pur.jar: Class not found: Lerp/pdm/components/AccountPeriodFacadeHome; java.lang.NoClassDefFoundError: Class not found: Lerp/pdm/components/AccountPeriodFacadeHome; at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:287) at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232) at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810) at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2847) at

我搞不明白 我的包是 erp。pdm。components

而webligic为什么会去找 Lerp/pdm/components 而不找 erp/pdm/components

到底 前面那个L 是什么意思?

我用的是weblogic8.1